上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 73 下一页
摘要: img = cv2.imread(test_data_dir)img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) 阅读全文
posted @ 2022-03-22 22:29 Tomorrow1126 阅读(161) 评论(0) 推荐(0) 编辑
摘要: https://bbs.cvmart.net/articles/5441 https://www.aiuai.cn/aifarm1967.html 阅读全文
posted @ 2022-03-22 14:17 Tomorrow1126 阅读(299) 评论(0) 推荐(0) 编辑
摘要: find / -name cudnn_version.h 2>&1 | grep -v "Permission denied" cat 上面找到的cudnn_version.h https://blog.csdn.net/eaxy_z/article/details/108615548 阅读全文
posted @ 2022-03-22 14:12 Tomorrow1126 阅读(108) 评论(0) 推荐(0) 编辑
摘要: dump: 将数据写入json文件中 1 with open("../config/record.json","w") as f: 2 json.dump(new_dict,f) 3 print("加载入文件完成...") load:把文件打开,并把字符串变换为数据类型 1 with open(". 阅读全文
posted @ 2022-03-22 14:04 Tomorrow1126 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 启动TensorBoard 输入下面的指令来启动TensorBoard python tensorflow/tensorboard/tensorboard.py --logdir=path/to/log-directory 这里的参数 logdir 指向 SummaryWriter 序列化数据的存储 阅读全文
posted @ 2022-03-22 14:02 Tomorrow1126 阅读(2015) 评论(0) 推荐(0) 编辑
摘要: 起初发现超过了内存,把batch_size改小 然后发现因为gpu利用率低被释放了,这才发现num_gpu是1... 最后把gpu和batchsize都改成8 速度瞬间快了,gpu利用率upup 阅读全文
posted @ 2022-03-22 11:46 Tomorrow1126 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 当前GPU的算力与当前版本的Pytorch依赖的CUDA算力不匹配(3080算力为8.6,而当前版本的pytorch依赖的CUDA算力仅支持3.7,5.0,6.0,7.0) 我的解决方法是重新到清华源网站上下载了pytorch,解决 链接是不同pytorch和gpu cuda cudnn版本匹配: 阅读全文
posted @ 2022-03-22 11:33 Tomorrow1126 阅读(1133) 评论(0) 推荐(0) 编辑
摘要: 在 shell 脚本的第一行加上一行 "#!/bin/bash" 即可。 阅读全文
posted @ 2022-03-21 14:54 Tomorrow1126 阅读(146) 评论(0) 推荐(0) 编辑
摘要: img_list = 'neg.lst' geter = GetImageSize(img_list) geter.threaded(thread_num=32) geter.save(img_list[:-4]+'_withsize.lst') s[:-4]是什么? 这是字符串切片的意思。与列表和 阅读全文
posted @ 2022-03-21 14:49 Tomorrow1126 阅读(4544) 评论(0) 推荐(0) 编辑
摘要: import syspythonpath = sys.executableprint(pythonpath) 阅读全文
posted @ 2022-03-21 13:32 Tomorrow1126 阅读(71) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 73 下一页