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

Gibson dataset glb files #2428

Open
tayyabkhalil-313 opened this issue Jul 12, 2024 · 4 comments
Open

Gibson dataset glb files #2428

tayyabkhalil-313 opened this issue Jul 12, 2024 · 4 comments
Labels
support User support requested (e.g. specific issue or API usage question)

Comments

@tayyabkhalil-313
Copy link

Habitat-Sim version

v0.2.1

❓ Questions and Help

I have downloaded the gibson tiny dataset from here as gibson_tiny.tar.gz which contained some obj files and others for each scene but no glb files. I then downloaded the 3DSceneGraph and then converted it via
tools/gen_gibson_semantics.sh /path/to/3DSceneGraph_medium/automated_graph /path/to/GibsonDataset /path/to/output which produced some scns and ids.
But I need the glb files for the scenes to run the demo notebook and I don't understand how or where to obtain those. Any directions on how to get those glb files?

@aclegg3
Copy link
Contributor

aclegg3 commented Jul 15, 2024

You can find some detail on using Gibson here: https://github.com/facebookresearch/habitat-sim/blob/main/DATASETS.md#gibson-and-3dscenegraph-datasets

They should provide some habitat-ready files. From the download page:

C. To use with Habitat-sim/challenge (ICCV 2019)
=========================================
Gibson Dataset for Habitat (11GB):
gibson_habitat_trainval.zip
gibson_habitat.zip
=========================================

In general, Habitat can support .obj files, but typically .glb are better. Habitat-ready datasets are typically also compressed to allow faster import and simulation.

@aclegg3 aclegg3 added the support User support requested (e.g. specific issue or API usage question) label Jul 15, 2024
@tayyabkhalil-313
Copy link
Author

Thank you for responding. The demo notebook is using the gibson_tiny split. Will the gibson_habitat.zip you mentioned also have the same scene files?

@aclegg3
Copy link
Contributor

aclegg3 commented Jul 15, 2024

I believe the habitat version should contain all the original gibson splits. If that doesn't end up being the case please let me know here.

@tayyabkhalil-313
Copy link
Author

Yes, downloading the habitat version indeed solved the issue. The scene is successfully loaded but when I try to get the objects from semantic scene scene_objects = sim.semantic_scene.objects it returns none. The full code is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support User support requested (e.g. specific issue or API usage question)
Projects
None yet
Development

No branches or pull requests

2 participants