解决FileNotFoundError: [Errno 2] No such file or directory: 'xxx.jpg'错误
2020-06-06 07:21
92 查看
在linux下进行two stage 网络训练时候, FileNotFoundError: [Errno 2] No such file or directory: 'xxx.jpg’错误时候
声明:此博客仅用于记录日常错误
2020年5月8日下午16:01, 在训练Mask Scoring RNN时, 运行train.sh进行人体课堂状态训练时候,报错:
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/coco/train2017/..\\image\\16.jpg'
如下图所示
放大
其中报错:
在No such file or directory: 'datasets/coco/train2017/..\\image\\16.jpg'
仔细检查文件位置发现
图片位置和标签位均无误
发现是之前用labelme对图像进行打标签时候,把标签(即.json文件和图像放在两个文件夹中导致路径错误)暂时找不到什么解决办法只能重新打标签,将标签和图像放在同一文件夹中
相关文章推荐
- 成功解决FileNotFoundError: [Errno 2] No such file or directory: '/home/bai/Myprojects/Tfexamples/data/kn
- 解决错误:NAND: could not create temp file for system NAND disk image: No such file or directory
- 一种编译错误的解决办法。/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
- win10下caffe在训练和测试faster-rcnn模型时提示IOError: [Errno 2] No such file or directory: '000001.xml'错误解决办法
- 完美解决错误:libhdf5_hl.so.100(XXX): cannot open shared object file: No such file or directory,Error127
- 解决错误:NAND: could not create temp file for system NAND disk image: No such file or directory
- python解压函数extractall在windows上报错FileNotFoundError [Errno 2] No such file or directory
- 解决Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:'x.pyc'
- 从0开始学习python8:open()中的一些坑[Errno 2] No such file or directory: 'xxx.txt' 的解决方法
- pyinstaller打包selenium webdriver出现错误IOError: [Errno 2] No such file or directory: 'C:\\Users\\Adminis
- yum 更新163 源后出现 GPG key retrieval failed: No such file or directory的错误解决办法
- 解决"运行build.sh的脚本,报 -bash: ./build.sh: No such file or directory 的错误"
- Xcode 错误- Could not launch app - No such file or directory Error
- Apache 不能启动,出现 No such file or directory: make_sock: could not bind to port 8080 错误
- 引用原因.NET下编译C++代码时出现fatal error C1083: 无法打开包含文件:“iostream.h”: No such file or directory错误的解决方法.
- 关于 rmmod: chdir(xxx): No such file or directory 解决方法
- laravel错误mysql_connect(): No such file or directory解决方法
- 如何解决Could not launch app - No such file or directory
- 解决 Python.h:没有那个文件或目录 错误的方法( Python.h:No such file or directory )
- Python中 IOError: [Errno 2] No such file or directory的解决方法