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 train in VOC #3

Open
qdd1234 opened this issue Mar 16, 2021 · 9 comments
Open

How to train in VOC #3

qdd1234 opened this issue Mar 16, 2021 · 9 comments
Labels
documentation Improvements or additions to documentation

Comments

@qdd1234
Copy link

qdd1234 commented Mar 16, 2021

📚 Documentation

Hi, Thanks for your wonderful work,Could you teach me how to train in VOC2012?

@qdd1234 qdd1234 added the documentation Improvements or additions to documentation label Mar 16, 2021
@xingyizhou
Copy link
Owner

Thank you for your interest. I haven't tried to train on VOC with this code. I guess you can follow the instructions in the original detectron2. I.e., place your data this way and prepare a config like this.

@qdd1234
Copy link
Author

qdd1234 commented Mar 16, 2021

Hi ,If I want to train the model on my own dataste,How can i do?

@qdd1234
Copy link
Author

qdd1234 commented Mar 16, 2021

Hi When I train model on my own dataset,It raises an error which is shown in picture,could you tell me where is _log_accuracy?
image

@xingyizhou
Copy link
Owner

Hi,
Thank you for raising up the issue! This is due to a detection2 version inconsistency. It has been fixed in the most recent commit.

@xingyizhou
Copy link
Owner

For training on custom datasets, please refer to the detectron2 tutorial here.

@DatDoc
Copy link

DatDoc commented Mar 17, 2021

Hi @xingyizhou, Centernet2 hasn't been added to the model_zoo API so the model can just be trained using train_net.py? Amazing work btw

@sh7jacobi
Copy link

Hi. How can I set number of classes ? Is it enough to write in config file:
"
CENTERNET:
NUM_CLASSES: 12
"
?

@qdd1234
Copy link
Author

qdd1234 commented Apr 9, 2021

yes,but i mention that you should change the class name at the same time

@TfeiSong
Copy link

TfeiSong commented May 8, 2021

yes,but i mention that you should change the class name at the same time

How do I change the class name in the code?

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

No branches or pull requests

5 participants