forever208 / yolov5_train_on_UAVDT

train the latest YOLOv5 with drone dataset UAVDT
GNU General Public License v3.0
55 stars 4 forks source link

如果想要保留三个类别标签而不是本repo.实验中的只有一个类别,需要怎么修改organize_txt_labels? #8

Open qianlian-mozi opened 1 month ago

qianlian-mozi commented 1 month ago

❔Question

我试了一下发现本文的教程中转换数据集只保留了标签0,如果UAVDT三个类别标签我都想保留该如何修改呢?提前谢谢回答~

Additional context

github-actions[bot] commented 1 month ago

👋 Hello @qianlian-mozi, thank you for your interest in YOLOv5 🚀! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.

If this is a 🐛 Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

If this is a custom training ❓ Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available.

For business inquiries or professional support requests please visit https://ultralytics.com or email Glenn Jocher at glenn.jocher@ultralytics.com.

Requirements

Python>=3.6.0 with all requirements.txt installed including PyTorch>=1.7. To get started:

$ git clone https://github.com/ultralytics/yolov5
$ cd yolov5
$ pip install -r requirements.txt

Environments

YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):

Status

CI CPU testing

If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training (train.py), validation (val.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu every 24 hours and on every commit.

interqhq commented 1 month ago

hello, do you have downloaded the label files? I can not get it, could you please give me a backup? thanks

qianlian-mozi commented 1 month ago

hello, do you have downloaded the label files? I can not get it, could you please give me a backup? thanks

Actually you could visit official website to get this dataset, link below: https://sites.google.com/view/grli-uavdt/%E9%A6%96%E9%A1%B5

interqhq commented 1 month ago

hello, do you have downloaded the label files? I can not get it, could you please give me a backup? thanks

Actually you could visit official website to get this dataset, link below: https://sites.google.com/view/grli-uavdt/%E9%A6%96%E9%A1%B5

cool, thanks