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 run it on COCO Dataset? #18

Closed
gen0924 opened this issue Jun 17, 2021 · 10 comments
Closed

How to run it on COCO Dataset? #18

gen0924 opened this issue Jun 17, 2021 · 10 comments
Labels
enhancement New feature or request

Comments

@gen0924
Copy link

gen0924 commented Jun 17, 2021

I have a problem, if i wante run it on coco dataset, if we need to fix the file<active_datasets.py>? because its way to get X_U and X_L only fix the standard VOC dataset.Hope for your reply,and if possible, could you provide the python file to fit the coco dataset? THX~

@yuantn
Copy link
Owner

yuantn commented Jun 17, 2021

Yes, it is necessary to fix the file active_datasets.py in your plan. However, I achieve it in another way.

I use the code in this repository to transfer the COCO json annotation to PASCAL VOC xml annotation, and use COCO JPEG images as PASCAL VOC JPEG Images. In this way, the code for training generally remains, while the code for test can be replaced with the part of config files in mmdetection.

@gen0924
Copy link
Author

gen0924 commented Jun 17, 2021

OK~Thanks for your reply! if coco dataset can be convert to voc dataset successfully, it may works well to train the coco dataset. but, there need some fix on active_datasets.py about [07 12]part, thanks you, i am already works on voc dataset,but now we need work on my own dataset with coco type! thank you!

@gen0924
Copy link
Author

gen0924 commented Jun 17, 2021

image
when i convert my own data to VOC, i met these error, how can i do?THX~ and the training l_det_loc is always 0!

@yuantn
Copy link
Owner

yuantn commented Jun 17, 2021

Please wait. I am writing the instructions of training and test on MS COCO in this repository. I will tell you as soon as I finish it.

@yuantn
Copy link
Owner

yuantn commented Jun 17, 2021

OK~Thanks for your reply! if coco dataset can be convert to voc dataset successfully, it may works well to train the coco dataset. but, there need some fix on active_datasets.py about [07 12]part, thanks you, i am already works on voc dataset,but now we need work on my own dataset with coco type! thank you!

The instruction of data preparation on MS COCO is ready here. Hope it will help you.

You can leave a message in this issue if you have any questions. I will be back tomorrow.

@gen0924
Copy link
Author

gen0924 commented Jun 21, 2021

THX for your reply! i have not verify your repo! but based on your reply before, i have convert to VOC type dataset, and works well.

@chh6936
Copy link

chh6936 commented Jul 17, 2021

I want to ask how did you solve the problem IndexError: index 0 is out of bounds for dimension 0 with size 0 .
Can you help me? Thank you.

THX for your reply! i have not verify your repo! but based on your reply before, i have convert to VOC type dataset, and works well.

@chiran7
Copy link

chiran7 commented Sep 13, 2022

I want to ask how did you solve the problem IndexError: index 0 is out of bounds for dimension 0 with size 0 . Can you help me? Thank you.

THX for your reply! i have not verify your repo! but based on your reply before, i have convert to VOC type dataset, and works well.

Dear Author,
Can you suggest a proper change in the configuration file for custom data? although it trains and converges the loss function, I am getting 0 detections (no predictions) on custom data for MIAOD_SSD, while testing.

@yuantn
Copy link
Owner

yuantn commented Sep 14, 2022

Sorry, I am not clear about your custom dataset. Please describe the error in detail.

@chiran7
Copy link

chiran7 commented Sep 15, 2022 via email

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

No branches or pull requests

4 participants