摘要: onnx 版本 onnx 1.6.0onnx-simplifier 0.2.2onnxruntime 1.1.0onnxruntime-gpu 1.1.0 mxnet 版本 mxnet-cu101 1.7.0 原因 mxnet bug https://github.com/apache/mxnet/ 阅读全文
posted @ 2023-03-21 17:10 singyoutosleep 阅读(335) 评论(0) 推荐(0)
摘要: #def download(url) -> np.array:def download(url): while True: res = requests.get(url).content return cv2.imdecode(np.fromstring(res, np.uint8), cv2.IM 阅读全文
posted @ 2023-03-13 11:35 singyoutosleep 阅读(26) 评论(0) 推荐(0)
摘要: curl -v -F key1=value1 -F upload=@localfilename URL 阅读全文
posted @ 2023-02-24 17:17 singyoutosleep 阅读(18) 评论(0) 推荐(0)
摘要: 原因pip中指定了错误的python路径 将/home/worker/anaconda3/envs/python3/bin/pip中python路径(一般第一行) #!/home/xxx/anaconda3/envs/python3/bin/python 改为当前python路径 /home/wor 阅读全文
posted @ 2023-02-10 16:47 singyoutosleep 阅读(1152) 评论(0) 推荐(0)
摘要: tensorflow_core/python/keras/saving/hdf5_format.py", line 166, in load_model_from_hdf5 model_config = json.loads(model_config.decode('utf-8')) Attribu 阅读全文
posted @ 2022-12-21 15:26 singyoutosleep 阅读(703) 评论(0) 推荐(0)
摘要: import cv2count = cv2.cuda.getCudaEnabledDeviceCount()print(count)查看编译参数import cv2cv2.__version__print(cv2.getBuildInformation()) -- General configura 阅读全文
posted @ 2022-11-15 16:01 singyoutosleep 阅读(224) 评论(0) 推荐(0)
摘要: mxnet.base.MXNetError: Traceback (most recent call last): File "src/operator/fusion/fused_op.cu", line 647MXNetError: Check failed: compileResult == N 阅读全文
posted @ 2021-12-09 10:17 singyoutosleep 阅读(645) 评论(0) 推荐(0)
摘要: #https://docs.python.org/3/library/shlex.html#shlex.quote from shlex import quote command = 'ls -l {}'.format(quote(filename)) 阅读全文
posted @ 2021-12-08 15:05 singyoutosleep 阅读(169) 评论(0) 推荐(0)
摘要: 下载源码 cd zbar-0.10 python setup install 出现 zbarmodule.h:26:18: 致命错误:zbar.h:没有那个文件或目录 #include <zbar.h> 需要安装依赖sudo yum install zbar-devel 阅读全文
posted @ 2021-12-07 17:47 singyoutosleep 阅读(169) 评论(0) 推荐(0)
摘要: sudo yum install mesa-libGL 阅读全文
posted @ 2021-12-01 19:31 singyoutosleep 阅读(512) 评论(0) 推荐(0)