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

building the Gibson dataset #36

Open
xuai05 opened this issue Jul 12, 2024 · 0 comments
Open

building the Gibson dataset #36

xuai05 opened this issue Jul 12, 2024 · 0 comments

Comments

@xuai05
Copy link

xuai05 commented Jul 12, 2024

When I was building the Gibson dataset, I encountered the following issue. Could someone please tell me the reason for this?
I encountered issues while processing data from the Gibson and 3DSceneGraph datasets using the following command: tools/gen_gibson_semantics.sh /path/to/3DSceneGraph_medium/automated_graph /path/to/GibsonDataset /path/to/output.

I suspect that I might not have downloaded the mesh.obj data correctly.

The gen_gibson_semantics.sh script is as follows:

NPZ_PATH=$1
OBJ_PATH=$2
OUT_PATH=$3

TOOLS_DIR=$(dirname "$0")

if [ $# -ne 3 ]; then
  echo "Usage: $0 NPZ_PATH OBJ_PATH OUT_PATH"
  exit 1
fi
echo $OBJ_PATH
for npz in "${NPZ_PATH}"/*.npz; do
  filename=$(basename "${npz}")
  tmp=${filename#3DSceneGraph_}
  scene=${tmp%.npz}
  echo "${scene}"
  "${TOOLS_DIR}"/npz2ids.py "${npz}" "${OUT_PATH}"/"${scene}".ids
  "${TOOLS_DIR}"/npz2scn.py "${npz}" "${OUT_PATH}"/"${scene}".scn
  "${TOOLS_DIR}"/../build/utils/datatool/Datatool create_gibson_semantic_mesh "${OBJ_PATH}"/"${scene}"/mesh.obj "${OUT_PATH}"/"${scene}".ids "${OUT_PATH}"/"${scene}"_semantic.ply
done

The error I encountered is as follows:

Adairsville
wrote 2528538 bytes
wrote 33569 bytes
ESP_CHECK failed: esp::logging::LoggingContext: No current logging context.
tools/gen_gibson_semantics.sh: line 21: 2931262 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

Could you please provide a solution to this issue?

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

1 participant