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

about using my own data #22

Closed
evangel-jiang opened this issue Dec 8, 2020 · 3 comments
Closed

about using my own data #22

evangel-jiang opened this issue Dec 8, 2020 · 3 comments

Comments

@evangel-jiang
Copy link

hi
I want to use my own coco-format data on your framework, however, it seems that I need to prepare annotation files (json) for unlabeled data and put them under "$COCODIR/annotations/semi_supervised". Is that true?
But my own unlabeled data does not have labels. What should I do?
Looking foreword to a practical answer from anyone who can help me!

@zizhaozhang
Copy link
Collaborator

We follow the coco json format to organize labeled and unlabeled data.
Unlabel data annotation json file is supposed to have boxes field but you can set it as random values. As the code will not use that values during training. Pls read the code https://github.com/google-research/ssl_detection/blob/master/detection/data.py#L271-L278 to see.

@evangel-jiang
Copy link
Author

it worked! thank you so much!!!! @zizhaozhang

@Shuixin-Li
Copy link

Hi @evangel-jiang , I am also encountering this problem. I am really confused about the boxes field here, in coco format json, we use bbox, do I need to change the bbox into boxes? I am wondering if you could show an little example of your custom json file. Thank you in advance

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

3 participants