Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom dataset format for segmentation #1042

Open
4 tasks done
alvinwong64 opened this issue Apr 28, 2024 · 0 comments
Open
4 tasks done

Custom dataset format for segmentation #1042

alvinwong64 opened this issue Apr 28, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@alvinwong64
Copy link

Before Asking

  • I have read the README carefully. 我已经仔细阅读了README上的操作指引。

  • I want to train my custom dataset, and I have read the tutorials for training your custom data carefully and organize my dataset correctly; (FYI: We recommand you to apply the config files of xx_finetune.py.) 我想训练自定义数据集,我已经仔细阅读了训练自定义数据的教程,以及按照正确的目录结构存放数据集。(FYI: 我们推荐使用xx_finetune.py等配置文件训练自定义数据集。)

  • I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。

Search before asking

  • I have searched the YOLOv6 issues and found no similar questions.

Question

Hi i would like to ask how to you prepare the data for the segmentation custom dataset training. As in the tutorial, the format given is # class_id center_x center_y bbox_width bbox_height so I have to follow this as well? but i dont have the bbox width and height for my segmentation mask?

I suspect it's my dataset problem as it have 0 loss for all the bbox loss , classloss and etc...

During the checkup, the print out is as follows:
Train: Checking formats of images with 8 process(es):
0 image(s) corrupted: 100%|█████████████████████████████████████████████████████| 39308/39308 [00:43<00:00, 903.96it/s]
Train: Checking formats of labels with 8 process(es):
0 label(s) found, 39308 label(s) missing, 0 label(s) empty, 0 invalid label files: 100%|█| 39308/39308 [00:07<00:00, 51

But i pretty confirmed i arranged the custom dataset exactly like you shown in the tutorial, so i wondering how should i handle the dataset format.

Thanks for the help.

Additional

No response

@alvinwong64 alvinwong64 added the question Further information is requested label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants