
深度学习
顾悦西
这个作者很懒,什么都没留下…
展开
-
解决错误:RuntimeError: result type Float can‘t be cast to the desired output type __int64
RuntimeError: result type Float can't be cast to the desired output type __int64原创 2022-12-08 11:03:43 · 24169 阅读 · 55 评论 -
yolov5如何修改标签和显示框
yolov5修改显示框大小原创 2022-11-29 11:37:20 · 2604 阅读 · 0 评论 -
数据集按比例划分为训练集验证集
目标检测数据集划分原创 2022-11-28 15:04:24 · 320 阅读 · 0 评论 -
AttributeError: module ‘distutils‘ has no attribute ‘version‘ 或者使用tensorboard不出现graph
原因:setuptools版本过高可以使用pip list查看自己的版本号,conda activate pytorch1激活自己的环境pip list查看相关配置版本,这一步可以发现我的setuptools版本号为59.6.0pip install setuptools==59.5.0降低版本之后重新运行,没有报错:AttributeError: module ‘distutils’ has no attribute ‘version’使用tensorboard也可以看到gra原创 2022-05-25 15:29:18 · 2741 阅读 · 3 评论 -
解决错误OSError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。
学习transforms时,输入tensorboard --logdir=logs时没有出现运行地址,反而出现错误OSError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。原因:端口被占用问题此处端口号为6006解决办法:1.命令提示符中查看哪个进程占用了端口号netstat -ano|findstr 6006findstr 5272(查看详细信息,5272为上一步查出来的结果)2.kill进程taskkill /pid 5272 /F原创 2022-05-16 19:50:45 · 8518 阅读 · 4 评论 -
在terminal中下载了opencv,控制台import cv2时却报错 ModuleNotFoundError: No module named ‘cv2‘
import cv2出错:ModuleNotFoundError: No module named ‘cv2’...原创 2022-05-16 16:57:25 · 557 阅读 · 0 评论 -
pip list出现问题,更新版本又出现Cache entry deserialization failed, entry ignored如何解决
用conda 安装环境时pip list 显示如下问题:正在使用pip9.0.1,需要更新pip版本DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this原创 2022-05-11 20:18:35 · 1092 阅读 · 0 评论