Comments (1)
AssertionError: train: No labels in /media/mjh/F674A9D874A99BBD/DOTA/train/labels.cache. Can not train without labels. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data 正式训练时候报出上面这个错误,文件路径并没有错,查到一种解决方法是改变文件目录层级 #└─ mydata
├─ images │ ├─ test # 下面放测试集图片 │ ├─ train # 下面放训练集图片 │ └─ val # 下面放验证集图片 └─ labels ├─ test # 下面放测试集标签 ├─ train # 下面放训练集标签 ├─ val # 下面放验证集标签 但是这个文件目录层级与README中不同,我试了一下报出了这个错误 Exception: train: Error loading data from /home/mjh/文档/DOTA/images/train : train: /home/mjh/文档/DOTA/images/train does not exist See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data 我参考这篇博客,修改了一下https://blog.csdn.net/weixin_46085845/article/details/127903878 运行过后报错为 File "/home/mjh/文档/S2ANet-main/utils/general.py", line 415, in check_dataset raise Exception('Dataset not found.') Exception: Dataset not found. 找不到数据集位置了,请问有什么解决方法吗
请按照README中的文件路径层级,组织自己的数据集
from s2anet.
Related Issues (13)
- error: command '/usr/local/cuda-10.2/bin/nvcc' failed with exit code 1 HOT 1
- 关于训练的问题 HOT 3
- 更换骨干网络 HOT 2
- 测试集检测图片后输出在哪设置 HOT 8
- 您好,想请教一下这个问题怎么解决,您当时是否遇到了这个问题 HOT 2
- 关于运行train.py时的问题 HOT 1
- cannot import name 'orn_cuda' from 'mmdet.models.orn' HOT 4
- 运行2(3)Compilate the C++Cuda Library时报错 HOT 1
- 同样是运行2(3)时出错 HOT 3
- 正式训练时报错
- 训练时找不到标签 HOT 1
- 训练完成后如何使用
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 s2anet.