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 #33

Open
john09282922 opened this issue Nov 30, 2024 · 1 comment
Open

Custom dataset #33

john09282922 opened this issue Nov 30, 2024 · 1 comment
Labels
question Further information is requested

Comments

@john09282922
Copy link

Question

Dear authors,

Thanks for nice works,
Is it possible to fine tune model with custom dataset? if so, only follow coco format?

Thanks

Additional

No response

@john09282922 john09282922 added the question Further information is requested label Nov 30, 2024
@xiuqhou
Copy link
Owner

xiuqhou commented Dec 3, 2024

Hi @john09282922 sorry for late reply.

To fine tune custom datasets, there are two things you need to do:

  • Make sure the dataset follows coco format.
  • num_classes of model_config is default to 91. If your dataset has more classes, please change it to a number larger than the max_class_id of your dataset. (For example, the max_class_id of COCO is 90, so we set num_classes to 91)

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