R = [obj for obj in recs[imagename] if obj['name'] == classname] KeyError:'1' 测试和训练前需要将cache中的pkl文件+VOCdevkit2007中annotations_cache的缓存删掉。删掉后可正常运行。 ...
分类:
其他好文 时间:
2020-07-08 13:34:10
阅读次数:
87
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev ...
分类:
系统相关 时间:
2020-07-08 13:31:45
阅读次数:
90
csv 转存为json import csv import json csvfile = open('test.csv', 'r') jsonfile = open('record.json', 'w') headers = ['class', 'name', 'sex', 'height', 'y ...
分类:
Web程序 时间:
2020-07-08 13:27:31
阅读次数:
68
layui输入框中只允许输入整数的实现方法 <input type="text" class="layui-input" name="MaxDrawCount" value="@item.MaxDrawCount" required lay-verify="required|number" plac ...
分类:
其他好文 时间:
2020-07-08 13:10:36
阅读次数:
239
1 function errorCheck() { 2 window.addEventListener('error',function(error){ 3 if(error.filename){return false;}else{ 4 console.log(error.target+"资源加载 ...
分类:
其他好文 时间:
2020-07-08 10:31:15
阅读次数:
77
问题如下: INFO] Scanning for projects... [ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Ve rtex{label='org.kuuyee.sample:mo ...
分类:
其他好文 时间:
2020-07-08 10:28:09
阅读次数:
170
添加库文件路径: 1:导出环境变量 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/new_path 2:修改配置文件 ld.so.conf ld.so.conf.d/* LIBRARY_PATH 程序编译期间查找动态链接库时指定的查找路径,编译期,开发阶段, 只影 ...
分类:
其他好文 时间:
2020-07-08 09:15:47
阅读次数:
78
预编译二进制包groupadd --gid 666 --system mysqluseradd --uid 666 --gid mysql --system mysqlln -sv mariadb-VERSION-OS mysqlchown --recursive --dereference -L ...
分类:
其他好文 时间:
2020-07-08 09:11:35
阅读次数:
72
1:无参装饰器补充:@index(123) ==》 这个@index(123)中,index()函数调用的优先级是最高的。所以先会先运行,然后得到的返回值,在传个@inde()的返回值我们今天继续讲解有参知识: 首先上面这个小案例中:我们添加一个需求,我需要在wrapper中做一个认证功能,就是用户 ...
分类:
编程语言 时间:
2020-07-08 01:31:07
阅读次数:
63
webpack npm run dev 不能通过ip访问只能通过localhost访问解决方法如下:修改vue-cli: config/index.js 文件把文件中 host 的值,改成 ip 即可 ...
分类:
其他好文 时间:
2020-07-07 23:24:40
阅读次数:
68