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

Error in generation of semantic datasets #2372

Open
zhai-create opened this issue Apr 25, 2024 · 1 comment
Open

Error in generation of semantic datasets #2372

zhai-create opened this issue Apr 25, 2024 · 1 comment

Comments

@zhai-create
Copy link

When I generated semantic data for gibson using the gen_gibson_semantics.sh file, I found that there were some scenarios where the following errors occurred:

terminate called after throwing an instance of 'std::length_error' what(): cannot create std::vector larger than max_size() Aborted (core dumped)

How should I solve this problem? Do I need to modify the Datatool.cpp file again?(I have generated .ids files, .obj files, and datatool for each scene)

❓ Questions and Help

@iyeon915
Copy link

iyeon915 commented May 27, 2024

I got a similar issue. Did you solved this issue?
I obtained build foler using "python setup.py build --build-datatool" at here (#1948).
Then the datatool file in build foler was build/utils/datatool/Datatool not build/utils/datatool/datatool. (Capital D)
So, I modified gen_gibson_semantic.sh file, then run using "tools/gen_gibson_semantics.sh /path/to/3DSceneGraph_medium/automated_graph /path/to/GibsonDataset /path/to/output
".

(I use headless server)
There are 3 folders in scene datasets folder,

  1. 3DSceneGraph_medium (includes npz)
  2. gibson (includes scene_dataset_config.json and scene folder. Each scene folder has obj files)
  3. out folder (.ids and .scn files were generated. but .ply is not)

Finally the error is below.
(habitat) user@server90:~/habitat/habitat-sim$ tools/gen_gibson_semantics.sh data/scene_datasets/3DSceneGraph_medium/automated_graph/ data/scene_datasets/gibson/ data/scene_datasets/out/
Adairsville
wrote 2528538 bytes
wrote 33569 bytes
ESP_CHECK failed: esp::logging::LoggingContext: No current logging context.
tools/gen_gibson_semantics.sh: line 17: 22515 Aborted (core dumped) "${TOOLS_DIR}"/../build/utils/datatool/datatool create_gibson_semantic_mesh "${OBJ_PATH}"/"${scene}"/mesh.obj
"${OUT_PATH}"/"${scene}".ids "${OUT_PATH}"/"${scene}"_semantic.ply

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