from matplotlib import pyplot as mp import tensorflow as tf from tensorflow import keras from tensorflow.keras import datasets ,layers ,optimizers def ...
分类:
其他好文 时间:
2021-06-15 17:35:48
阅读次数:
0
def encode(matched, priors, variances): """Encode the variances from the priorbox layers into the ground truth boxes we have matched (based on jaccard ...
分类:
其他好文 时间:
2021-06-15 17:35:17
阅读次数:
0
1 分组求TopN 一、先看数据: 使用HiveSQL常用的方式为: Select * from table, row_number() over(partition by item order by score desc) rank where rank<=2; 二、输出结果为: 三、解析:row ...
分类:
数据库 时间:
2021-06-13 10:48:09
阅读次数:
0
4.1 统计视频观看数 Top10 思路:使用 order by 按照 views 字段做一个全局排序即可,同时我们设置只显示前 10 条。 最终代码: SELECT videoId, views FROM gulivideo_orc ORDER BY views DESC LIMIT 10; 4. ...
分类:
其他好文 时间:
2021-06-13 10:04:23
阅读次数:
0
方法一COPY两个*.so文件至上一层,并且为了使得g++编译器能识别两个*.so,要加上"lib"前缀:libthostmduserapi.so libthosttraderapi.so$ export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH$ g++ testMdA ...
分类:
系统相关 时间:
2021-06-13 09:50:13
阅读次数:
0
1、安装echarts依赖 npm install echarts -S 2、main.js中配置 : // 引入echarts import echarts from 'echarts' Vue.prototype.$echarts = echarts 3、在页面中//,引入基本模板 let ec ...
分类:
其他好文 时间:
2021-06-13 09:49:43
阅读次数:
0
有待总结。 Binary Search: 633, Sum of Square Numbers 475, Heaters 744, Find Smallest Letter Greater than target(LC submissions from original session) 427?? ...
分类:
其他好文 时间:
2021-06-13 09:48:38
阅读次数:
0
VUEX 1、安装 cnpm install vuex--save 2、导入,src下新建一个文件夹vuex,文件夹下新建一个store.js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex); 3、state 相当于vue项目的 ...
分类:
其他好文 时间:
2021-06-13 09:32:07
阅读次数:
0
1 数据库不能分离(分离时,老提示占用) --查询数据库得连接Idselect spid from sysprocesses where dbid=db_id('test') kill 61 --这个是上边语句的查询结果 --分离数据库 use master go exec sp_detach_db ...
分类:
数据库 时间:
2021-06-13 09:30:56
阅读次数:
0
# 1 安装 pip install coreapi # 2 在路由中配置 from rest_framework.documentation import include_docs_urls urlpatterns = [ ... path('docs/', include_docs_urls(t ...
分类:
其他好文 时间:
2021-06-13 09:22:11
阅读次数:
0