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

Train EPS on other dataset. #13

Closed
JimmyMa99 opened this issue Apr 7, 2022 · 3 comments
Closed

Train EPS on other dataset. #13

JimmyMa99 opened this issue Apr 7, 2022 · 3 comments

Comments

@JimmyMa99
Copy link

I want to know about how to train EPS on coco17.
I think I should get the cls_labels.npy in the file metadata/coco.
Can you tell me how to transfer the official json to the .npy?

@halbielee
Copy link
Owner

Hello, @JimmyMa99

If you want to use another dataset (e.g., ms-coco 2017), you should know the labels for each image and make the class labels into binary vector. So, you have to get 'label list' from the json file and convert it to ".npy" file.

The official cocodataset provides how to handle the json file. Please check the official github.

@JimmyMa99
Copy link
Author

Thanks, @halbielee

I have written a tool to read the json of the coco17 dataset according to the format, maybe other researchers who wish to use your project can go to the following link to set up cls_labels.npy for the coco17 dataset.
https://github.com/JimmyMa99/coco17-get-cls_label/tree/main

@halbielee
Copy link
Owner

How nice you are, @JimmyMa99!

I think what you did can help other researchers as you said.
I will post your way to set up "cls_labels.npy" for coco17 dataset on the README file!

Thank you!

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