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

How to trian on my custom dataset? #4

Open
liuhaolinwen opened this issue Nov 28, 2022 · 1 comment
Open

How to trian on my custom dataset? #4

liuhaolinwen opened this issue Nov 28, 2022 · 1 comment

Comments

@liuhaolinwen
Copy link

Hello author, i want to trian on my custom dataset, what should i do?

@hnuzhy
Copy link
Owner

hnuzhy commented Nov 28, 2022

Hello author, i want to trian on my custom dataset, what should i do?

Training a custom dataset may be splitted into following four steps:

  1. Preparing your source domain train-set&val-set with object detection GT labels, and target domain train-set (large-scale without labels) & val-set (small-scale with labels) for performance validation.
  2. Training the image style transfer CUT model offline, which includes both source→target and target→source for generating corresponding fake images. More deatils can be found in its official code link https://github.com/taesungp/contrastive-unpaired-translation
  3. Convert all images and labels data into formats that our project needs. Please refer the scripts https://github.com/hnuzhy/SSDA-YOLO/tree/master/data/formats/
  4. Training on your custom dataset following our instructions in README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants