GibsonEnv icon indicating copy to clipboard operation
GibsonEnv copied to clipboard

Request for textured mesh.obj files

Open SilongYong opened this issue 2 years ago • 1 comments

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)?

SilongYong avatar Jul 05 '23 12:07 SilongYong

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?

xuai05 avatar Jul 12 '24 13:07 xuai05