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 can I use a custom dataset? #99

Open
JEO-96 opened this issue Nov 26, 2021 · 2 comments
Open

How can I use a custom dataset? #99

JEO-96 opened this issue Nov 26, 2021 · 2 comments

Comments

@JEO-96
Copy link

JEO-96 commented Nov 26, 2021

I want to use a custom dataset other than the coco dataset.
How do I change the path?

@PeizeSun
Copy link
Owner

PeizeSun commented Dec 9, 2021

Hi~
Our code is based on Detectron2, the way of using custom dataset is the same as detectron2, I guess you could refer to Use Custom Dataset.

@JEO-96
Copy link
Author

JEO-96 commented Jan 14, 2022

Thank you for your answer.
But not all problems have been solved. Through the detectron2 tutorial, I learned how to use customized datasets. However, I couldn't figure out how to use the model you created while using the custom data set. I can only use the model supported by detectron 2 through the code below.
cfg.merge_from_file(model_zoo.get_config_file("COCO-InstanceSegmentation/mask_rcn_R_50_FPN_3x.yaml")
How can I use your model?
Also, what I'm worried about is that I didn't use the head you made because I followed the detectron 2 tutorial.

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