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

Request for textured mesh.obj files #138

Open
SilongYong opened this issue Jul 5, 2023 · 1 comment
Open

Request for textured mesh.obj files #138

SilongYong opened this issue Jul 5, 2023 · 1 comment

Comments

@SilongYong
Copy link

Hi, thanks for the awesome dataset and simulator!

I've noticed that the mesh.obj files in the released Gibson dataset used for GibsonEnv don't have texture information in them (only geometry). However, in your main paper there're several BEV / overview pictures of the 3D model that are textured. Is there a possibility that you release a version of mesh.obj with texture (while remaining the same vertices and faces in the original version)?

@xuai05
Copy link

xuai05 commented Jul 12, 2024

Could you please confirm if the data path for the mesh.obj file should be "${OBJ_PATH}/${scene}/mesh.obj"? 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

2 participants