Giter VIP home page Giter VIP logo

Comments (1)

chongkuiqi avatar chongkuiqi commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.