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

Using a custom dataset in the BOP format #28

Open
3bsamad opened this issue Jan 25, 2023 · 4 comments
Open

Using a custom dataset in the BOP format #28

3bsamad opened this issue Jan 25, 2023 · 4 comments
Labels
question Further information is requested

Comments

@3bsamad
Copy link

3bsamad commented Jan 25, 2023

I am trying to train the network using a custom dataset. I've read I need to have it organized in the BOP format, which I've (almost) successfully done. My data is in .h5 format and I was able to extract the data in a similar fashion.

My only problem is the file scene_gt_info.json which contains info like bbox_obj and bbox_visib, which, according to the website, needs depth information to calculate the visible parts/ pixels etc. I wanted to train the RGB only GDRNet, since I generated only RGB data. It seems the GDRNet itself does not necessarily need the depth info, but then how can I generate a file similar to scene_gt_info.json to feed to the network?

@wangg12
Copy link
Collaborator

wangg12 commented Jan 29, 2023

If you have CAD models, you can get bbox_obj and bbox_visib from rendered masks.

@wangg12 wangg12 added the question Further information is requested label Jan 30, 2023
@3bsamad
Copy link
Author

3bsamad commented Jan 30, 2023

I have CAD models, I'll look into this. Does this also mean that the network doesn't need/expect all the information the scene_gt_info.json, and that I can just provide these two?

@Lokesh-26
Copy link

Hello @wangg12,
I have the scene_gt_info.json of my own dataset. How do I obtain the the test_bboxes for a custom dataset?

@wangg12
Copy link
Collaborator

wangg12 commented Jan 12, 2024

@Lokesh-26 Just provide the detection results either from a detector or from other ways. Make sure the format in test_bboxes adheres to the code (refer to the code or the existing test_bboxes examples in README).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants