当前位置:网站首页>深度学习遇到报错Bug解决方法(不定时更新)
深度学习遇到报错Bug解决方法(不定时更新)
2022-07-30 15:10:00 【Half_A】
下面所有问题以及解决方法都是本人亲自遇到,且根据解决方法成功解决的,如果仍然有问题欢迎各位评论区讨论。
No module named ‘pycocotools‘
参考博客:超简单解决No module named ‘pycocotools‘
点击连接中任意一个版本,(我安装的是2.0.0),下载的时候一定要注意对应的python版本,cp36指的是python3.6,cp37和cp38同理。
下载之后,放入你喜欢的文件夹中,然后启动命令行,进入whl文件所在的目录,输入以下命令即可,注意install后面是你自己下载的whl文件全称

activate tensorflow
E:
cd E:/windows/Downloads
pip install pycocotools_windows-2.0-cp36-cp36m-win_amd64.whl
使用Google Colab时,将Tensorflow版本转换到1.x版本
参考博客:https://blog.csdn.net/qq_44262417/article/details/105222696
%tensorflow_version 1.x
maskrcnn训练提示:FutureWarning: Input image dtype is bool
参考博客:https://blog.csdn.net/qq_39483453/article/details/118598535
scikit-image=0.17.2 的版本存在的问题,修改scikit-image包版本为0.16.2
pip install -U scikit-image==0.16.2
成功解决AttributeError: ‘str‘ object has no attribute ‘decode‘
参考博客:https://blog.csdn.net/qq_41185868/article/details/82079079
pip install 'h5py<3.0.0' -i https://pypi.tuna.tsinghua.edu.cn/simple
TypeError: expected str, bytes or os.PathLike object, not NoneType
出现这个问题多半是没有指定路径,上述问题翻译过来是,期望一个字符串或者字节路径,而不是默认值,出现这个问题需要把指定路径的变量赋值即可。这种错误多半出现在运行开源代码时出现。
检查代码中对应位置的字符串变量,是否传入了确定的值,而非None。
本博客文章首先发布于个人博客网站:https://www.mahaofei.com/,欢迎大家访问。
边栏推荐
猜你喜欢

golang modules initialization project

GUCCI、LV等奢侈品巨头如何布局元宇宙的,其他品牌应该跟上吗?

(Popular Science) What is Fractional NFT (Fractional NFT)

Flask之路由(app.route)详解

Flask入门学习教程
![[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios](/img/c7/3faa29dc374e2e16e59ac9b8ebf249.png)
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios

70行代码撸一个桌面自动翻译神器

How is the B+ tree index page size determined?

Lock wait timeout exceeded solution

Back waves are coming!Ali produced the "second generation" container technical manual and brain map, which is too fragrant
随机推荐
使用 TiUP 命令管理组件
MySQL客户端工具的使用与MySQL SQL语句
MySql error: SqlError(Unable to execute query", "Can't create/write to file OS errno 2 - No such file...
TiUP FAQ
(科普文)什么是碎片化NFT(Fractional NFT)
视频切换播放的例子(视频切换范例)代码
timed task corn
GUCCI、LV等奢侈品巨头如何布局元宇宙的,其他品牌应该跟上吗?
CS内网横向移动 模拟渗透实操 超详细
解析字符串拼接的两种情况
【嵌入式】适用于Cortex-M3(STM32F10x)的IQmath库
GeoServer
Alluxio for Presto fu can across the cloud self-service ability
TiUP 简介
In-depth analysis of Kubernetes application management
B+树索引页大小是如何确定的?
Distributed pre-course: MySQL implements distributed locks
TiUP 故障排查
Memory-mapped, bit-band operations
Extremely Knowing v2 Analysis