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

COCO detetction Dataset #129

Open
anirudh6415 opened this issue Feb 12, 2024 · 2 comments
Open

COCO detetction Dataset #129

anirudh6415 opened this issue Feb 12, 2024 · 2 comments

Comments

@anirudh6415
Copy link

Hi,
I have been trying to use https://pytorch.org/vision/stable/_modules/torchvision/datasets/coco.html to load the data and use it for training but model is not learning anything how do i work with it. Can you help me with it.

Thank you

@sovit-123
Copy link
Owner

Hi. The COCO dataset YAML file in the data_configs directory expects 81 classes instead of 91 classes. You can find the correct dataset here on Kaggle.
If you are facing a particular error, please let me know.

@anirudh6415
Copy link
Author

Hi Sovit,
I wanted to know, If i can use

from torchvision.datasets import CocoDetection ,wrap_dataset_for_transforms_v2
dataset = CocoDetection(root_dir, annotation_file,transforms=transforms)

but model is not learning anything how do i work with it. Can you help me with it.

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