当前位置:网站首页>深度学习遇到报错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/,欢迎大家访问。
边栏推荐
- TiUP 命令概览
- Local Transactions vs Distributed Transactions
- MySql error: SqlError(Unable to execute query", "Can't create/write to file OS errno 2 - No such file...
- Example of video switching playback (video switching example) code
- GeoServer + openlayers
- 编译、链接 - 笔记 - 3
- [Cloud native] Grayscale release, blue-green release, rolling release, grayscale release explanation
- TensorFlow自定义训练函数
- 90后人大硕士为学医竟重新高考,成功被首医大录取
- 让人上瘾的新一代开发神器,彻底告别Controller、Service、Dao等方法
猜你喜欢

golang modules初始化项目

Delayed message queue

The Prospects of the Metaverse and the Four Tracks

How is the B+ tree index page size determined?

2022最新 | 室外单目深度估计研究综述

Flask introductory learning tutorial

yarn安装详细教程说明、升级教程、修改yarn的全局和缓存目录、yarn基本命令

Redis cache penetration, breakdown, avalanche and consistency issues

Memory-mapped, bit-band operations

xxl-job源码解析(技术分享)
随机推荐
让人上瘾的新一代开发神器,彻底告别Controller、Service、Dao等方法
ISELED---氛围灯方案的新选择
Sentinel
Overview of TiUP commands
Compile, link, notes - 3
Local Transactions vs Distributed Transactions
难道Redis真的变慢了吗?
调试 - 笔记
tiup help
GeoServer + openlayers
【云原生】阿里云ARMS业务实时监控
In-depth analysis of Kubernetes application management
JHM:芳环羟化双加氧酶数据库DARHD建立及相关引物评价
【重磅来袭】教你如何在RGBD三维重建中获取高质量模型纹理
Core Topics under Microservice Architecture (2): Design Principles and Core Topics of Microservice Architecture
Distributed pre-course: MySQL implements distributed locks
视频加密的误解
Nature Microbiology综述:聚焦藻际--浮游植物和细菌互作的生态界面
The Prospects of the Metaverse and the Four Tracks
Example of video switching playback (video switching example) code