上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: 1、模型结构图 2、随机测试模型 3、训练logs 2020-05-10T11:28:20.491640: Step 4, loss_total = 28.22, acc = 2.23%, sec/batch = 1.23 2020-05-10T11:28:27.849279: Step 9, lo 阅读全文
posted @ 2020-05-10 13:38 ARYOUOK 阅读(1317) 评论(0) 推荐(0)
摘要: 1、fastapi快速服务器搭建 # -*- coding:utf-8 -*- from typing import List,Set,Dict from fastapi import FastAPI, Request, Form from fastapi.staticfiles import St 阅读全文
posted @ 2020-04-25 19:14 ARYOUOK 阅读(8566) 评论(2) 推荐(0)
摘要: -- SELECT * FROM employment_direction_recommend_table GROUP BY student_name HAVING count(student_name)>1; -- SELECT * FROM employment_direction_recomm 阅读全文
posted @ 2020-04-19 18:04 ARYOUOK 阅读(1570) 评论(1) 推荐(0)
摘要: import datetime import time import asyncio import numba as nb import numpy as np @nb.jit() def f(n): if n<2: return 1 else: return f(n-1)+f(n-2) async 阅读全文
posted @ 2020-04-17 22:36 ARYOUOK 阅读(317) 评论(0) 推荐(0)
摘要: 1、创建函数 -- 创建存储函数 DROP FUNCTION IF EXISTS SPLIT_STR; -- 判断是否存在,存在则删除 CREATE FUNCTION SPLIT_STR( x VARCHAR(255), delim VARCHAR(12), pos INT ) RETURNS VA 阅读全文
posted @ 2020-04-08 23:43 ARYOUOK 阅读(851) 评论(0) 推荐(0)
摘要: 1、AlexNet网络模型,pytorch1.1.0 实现 注意:AlexNet,in_img_size >=64 输入图片矩阵的大小要大于等于64 # coding:utf-8 import torch.nn as nn import torch class alex_net(nn.Module) 阅读全文
posted @ 2020-04-07 16:32 ARYOUOK 阅读(1792) 评论(2) 推荐(0)
摘要: 1、vgg19模型——pytorch 版本= 1.1.0 实现 # coding:utf-8 import torch.nn as nn import torch class vgg19_Net(nn.Module): def __init__(self,in_img_rgb=3,in_img_si 阅读全文
posted @ 2020-04-07 13:42 ARYOUOK 阅读(4316) 评论(0) 推荐(0)
摘要: 1、降低pillow版本小于7.0以下 conda install --yes pillow=6.2.1 或者 pip install pillow=6.2.1 阅读全文
posted @ 2020-04-07 12:28 ARYOUOK 阅读(534) 评论(0) 推荐(0)
摘要: 1、配置文件 package config import org.apache.spark.sql.SparkSession import org.apache.spark.{SparkConf, SparkContext} case object conf { private val master 阅读全文
posted @ 2020-04-03 16:41 ARYOUOK 阅读(775) 评论(0) 推荐(1)
摘要: package classifierAlg import config.conf.{sc, spark_session} import config.conf.spark_session.implicits._ import org.apache.spark.sql.functions._ impo 阅读全文
posted @ 2020-04-03 11:37 ARYOUOK 阅读(2886) 评论(0) 推荐(1)
摘要: 1、配置文件 package config import org.apache.spark.sql.SparkSession import org.apache.spark.{SparkConf, SparkContext} case object conf { private val master 阅读全文
posted @ 2020-04-03 00:55 ARYOUOK 阅读(922) 评论(0) 推荐(0)
摘要: package operationMysql import config.conf.{sc, spark_session} import org.apache.spark.sql.DataFrame object readingMysqlOperation { def main(args: Arra 阅读全文
posted @ 2020-04-02 23:35 ARYOUOK 阅读(581) 评论(0) 推荐(0)
摘要: 1、配置文件 package config import org.apache.spark.sql.SparkSession import org.apache.spark.{SparkConf, SparkContext} case object conf { private val master 阅读全文
posted @ 2020-04-02 22:33 ARYOUOK 阅读(3491) 评论(0) 推荐(0)
摘要: -- ************************************************ -- 存储过程 -- ************************************************ -- 存储过程 CREATE OR REPLACE preocedure g 阅读全文
posted @ 2020-03-16 21:53 ARYOUOK 阅读(257) 评论(0) 推荐(0)
摘要: -- ************************************************ -- 存储过程 -- ************************************************ -- 创建存储过程 drop procedure if exists pld 阅读全文
posted @ 2020-03-16 21:28 ARYOUOK 阅读(2446) 评论(0) 推荐(0)
摘要: 以上操作结束后ubuntu还学会待机了,还是最初的guest,每次待机都要重新输密码再进入, 很可能我是加多了这一句 1. 用普通用户登录2. 在终端执行sudo -s,然后输入当前登录的普通用户密码,进入到root用户模式3. 执行gedit /etc/lightdm/lightdm.conf4. 阅读全文
posted @ 2020-02-24 22:29 ARYOUOK 阅读(500) 评论(0) 推荐(0)
摘要: 1、可从清华镜像下载Miniconda包 清华镜像:https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ 2、安装好后找到对应的目录进入condabin 可看到 conda.bat 默认是python3.7 可使用 ./conda.bat 阅读全文
posted @ 2020-02-22 20:25 ARYOUOK 阅读(1737) 评论(0) 推荐(0)
摘要: SELECT (5)/TIMESTAMPDIFF(MONTH,b.时间,DATE_FORMAT(DATE_ADD(NOW(),INTERVAL -1 MONTH), '%Y-%m-%d')) FROM `经销商开票` b WHERE b.id= 'f2dfee12-b466-11e9-9b90-70 阅读全文
posted @ 2020-02-09 16:31 ARYOUOK 阅读(529) 评论(0) 推荐(0)
摘要: 详细链接地址:https://www.cnblogs.com/SZxiaochun/p/8359456.html 阅读全文
posted @ 2019-12-27 16:44 ARYOUOK 阅读(1132) 评论(0) 推荐(0)
摘要: var location = this.options.location; var cr = FR.cellStr2ColumnRow(location); var col = cr.col; var row = cr.row; var ORG_ID = contentPane.getWidgetB 阅读全文
posted @ 2019-12-06 15:04 ARYOUOK 阅读(1941) 评论(0) 推荐(0)
摘要: 1、左连接 :left join 2、右连接:right join 3、内连接:inner join 4、外连接:outer join 5、全连接:full join 阅读全文
posted @ 2019-12-03 22:01 ARYOUOK 阅读(382) 评论(0) 推荐(0)
摘要: 来源公式推导连接 https://blog.csdn.net/qq_36387683/article/details/88554434 关键词:灰色预测 python 实现 灰色预测 GM(1,1)模型 灰色系统 预测 灰色预测公式推导 一、前言 本文的目的是用Python和类对灰色预测进行封装 二 阅读全文
posted @ 2019-11-25 00:05 ARYOUOK 阅读(13760) 评论(0) 推荐(2)
摘要: SELECT LISTAGG(GOODSNAME,';') WITHIN GROUP (ORDER BY GOODSNAME) AS sd FROM DIM_ERP_PUB_GOODS WHERE ROWNUM<4 WM_CONCAT() 方法被替代成:LISTAGG(GOODSNAME,';') 阅读全文
posted @ 2019-11-21 14:36 ARYOUOK 阅读(3574) 评论(0) 推荐(0)
摘要: CREATE OR REPLACE function testAdd(js1 in number, js2 in number) return number is v_hj number; v_h NUMBER := 5; begin v_hj := js1 + js2 + v_h; return 阅读全文
posted @ 2019-10-25 09:53 ARYOUOK 阅读(710) 评论(0) 推荐(0)
摘要: 1、图片效果 2、原代码 # !/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2015 Matthew Earl # # Permission is hereby granted, free of charge, to any per 阅读全文
posted @ 2019-10-19 22:54 ARYOUOK 阅读(2088) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页