Comments (1)
0%| | 0/5388 [00:00<?, ?it/s]
Traceback (most recent call last):
File "D:\Tianchi\yolov5_material\yolov5-master\make_slice_voc.py", line 223, in
slice_im(image_path, ann_path, out_name, outdir, sliceHeight=1024, sliceWidth=1024)
File "D:\Tianchi\yolov5_material\yolov5-master\make_slice_voc.py", line 194, in slice_im
make_slice_voc(outpath,exiset_obj_list,sliceHeight,sliceWidth)
File "D:\Tianchi\yolov5_material\yolov5-master\make_slice_voc.py", line 85, in make_slice_voc
with codecs.open(os.path.join(slice_voc_dir, name[:-4] + '.xml'), 'w', 'utf-8') as xml:
File "D:\Anaconda3\envs\yolov5\lib\codecs.py", line 904, in open
file = builtins.open(filename, mode, buffering)
OSError: [Errno 22] Invalid argument: './slice/annotations\JPEGImages\0|819_3276_1024_1024_0_8192_6000.xml'
请按任意键继续. . .
这种路径错误的bug很容易解决的啊,你看这个都提示你了,annotation下为什么会有JPEGImages呢,./slice/annotations是切出来的小块图的xml保存路径啊,./slice/JPEGImages是切出来的图片保存路径。你看你是不是混着写了,这个自己自信看一下代码就好了
from data-science-competition.
Related Issues (20)
- 运行瓷砖检测比赛train.py的时候,调试缺少这个文件? HOT 1
- SWA HOT 2
- 医学影像报告异常检测的线下logloss与官方计算方式的差别 HOT 2
- 线上线下分数不同问题 HOT 2
- 广东工业的yolov5的那个nms HOT 1
- 关于数据标签减一的问题
- wechat 2021 HOT 4
- 招行fintech的最终代码和成绩,可以分享嘛? HOT 2
- wechat2021 HOT 8
- 有遥感影像高分辨率分割的数据集吗?大佬可以分享一下吗?
- 请问可以分享瓷砖的复赛训练集吗
- 关于Shopee-Price Match Guarantee竞赛数据处理的问题 HOT 2
- 西安市2021年“迎全运、强技能、促提升”高技能人才技能大赛的数据大佬还有吗?有的话麻烦分享一下 HOT 1
- 天气情况图像分类 HOT 2
- 2022-AI challengers TypeError: __init__() got an unexpected keyword argument 'T_0' HOT 1
- 广东工业智造创新大赛切图保存子图问题 HOT 1
- ImageForgeryLocationChallenge/train.py
- GAIIC: 2022 赛道1竞赛开源代码5折CV疑问 HOT 7
- Asking for help with the access to the dataset HOT 3
- 切图步长 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-science-competition.