![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
debug
不断进步的咸鱼
秃头女孩,不服输!
展开
-
【调试】错误 RuntimeError: Legacy autograd function with non-static forward method is deprecated.
一、错误描 运行pytorch版SSD目标检测网络:https://github.com/amdegroot/ssd.pytorch,使用训练好的模型执行目标检测时(执行demo.py)。出现错误::RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method.原创 2020-09-05 15:55:34 · 16513 阅读 · 59 评论 -
【调试】解决tensorboad无法访问此网站,XXXX拒绝了我们的连接请求。
一、问题二、解决 tensorboard --logdir=地址 --host=127.0.0.1原创 2020-08-02 11:04:10 · 1102 阅读 · 4 评论 -
【调试】 tensorflow.python.framework.errors_impl.DataLossError: file is too short to be an sstable
错误: tensorflow.python.framework.errors_impl.DataLossError: file is too short to be an sstable [[node save/RestoreV2 (defined at E:/PycharmProject/ObjectDetection/YOLOv2-tensorflow/Main.py:32) ]...原创 2020-04-21 19:02:31 · 1396 阅读 · 3 评论 -
【调试】ImportError: cannot import name 'abs'
错误原因: tensorflow和 protobuf发生冲突解决步骤: 1.pip uninstall tensorflow 2.pip uninstall protobuf 3.pip install tensorflow==x.x.x原创 2020-04-16 17:44:46 · 1003 阅读 · 0 评论 -
【调试】ModuleNotFoundError: No module named 'easydict'
1.下载压缩包https://files.pythonhosted.org/packages/4c/c5/5757886c4f538c1b3f95f6745499a24bffa389a805dee92d093e2d9ba7db/easydict-1.9.tar.gz或者访问官方网址下载:https://pypi.org/project/easydict/#files2.下载之后解压到某一文...原创 2020-03-30 21:25:06 · 3280 阅读 · 1 评论 -
【调试】python中参数设置argparse.ArgumentParser()
(1)问题:不进行参数配置的错误提示,例:usage: ocr_template_match.py [-h] -i IMAGE -t TEMPLATEocr_template_match.py: error: the following arguments are required: -i/–image, -t/–template(2)解决:2.1:edit configuration...原创 2020-03-15 23:18:34 · 1967 阅读 · 3 评论