-
Notifications
You must be signed in to change notification settings - Fork 31
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 put my object detection dataset in this specific COCO annotation format? #533
Comments
@allansdefreitas, |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Let me prepare and send to you... |
@tilakrayal here you can find the notebook: https://github.com/allansdefreitas/Deep-Learning-Experiments/blob/master/retinanet_coco_error.ipynb I do not know how to put my dataset in the tfds.load TFRecord internal format |
@allansdefreitas, |
It seems like if the content of TFRecords is encoded.. |
@allansdefreitas, |
Hi, @tilakrayal. You can download the TFRecords, running via terminal: |
@allansdefreitas, |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
Hello,
I'm running this Keras implementation of retinanet and it works perfectly on COCO dataset obtained from tfds.load().
I noticed that the downloaded TFrecords (from tfds.load() ) contain COCO annotations in a different way from traditional COCO annotations and that is the cause of all problems.
The COCO annotation format, creates one annotation element for each element in image, whereas Tensorflow COCO format (obtained from tfds), crates one single annotation for each image and inside this annotation, there is a list of objects and their positions (bboxes) That is the main difference.
Is there a way to put my dataset in this Tensorflow COCO format?
Thanks in advance,
Allan Freitas
System informations:
Ubuntu
Tensorflow: 2.9.1
Python: 3.7.13
The text was updated successfully, but these errors were encountered: