To use the EmbodiedScan dataset with this project, you first need to download and process the raw data according to the instructions provided by the original EmbodiedScan authors.
Follow the steps outlined in the official EmbodiedScan data preparation guide: https://github.com/OpenRobotLab/EmbodiedScan/tree/main/data
An example of the steps is as follows:
- Download ScanNet v2 data.
- Download 3RScan data.
- Download Matterport3D data.
- Download ARKitScenes data.
- Download EmbodiedScan annotations (
.pklfiles). - Extract images for ScanNet and 3RScan using the provided scripts (
generate_image_scannet.pyandgenerate_image_3rscan.py).
Note: You do not need to perform the final step in the EmbodiedScan README (extracting occupancy annotations) for this project.
Ensure your final data directory structure matches the one specified in the EmbodiedScan README.
Once the data is downloaded and processed, you need to update the configuration file to point to the correct locations on your system.
Edit the robospatial/configs/embodiedscan.yaml file.
Update the following paths under the data_loading section:
image_root: Set this to the directory where the extracted images (e.g.,scannet/posed_images,3rscan/<scene_id>/sequence) are located. The specific structure might depend on how you organized the datasets downloaded in step 1.embodiedscan_ann: Update thetrain,val, andtestpaths to point to the downloaded.pklannotation files (from step 5).
Example relevant section in robospatial/configs/embodiedscan.yaml:
data_loading:
# ... other settings ...
image_root: /path/to/your/processed/image/data # <- UPDATE THIS
embodiedscan_ann:
train: /path/to/your/EmbodiedScan/data/embodiedscan_infos_train.pkl # <- UPDATE THIS
val: /path/to/your/EmbodiedScan/data/embodiedscan_infos_val.pkl # <- UPDATE THIS
test: /path/to/your/EmbodiedScan/data/embodiedscan_infos_test.pkl # <- UPDATE THIS
# ... other settings ...After completing these steps, you should be able to load and use the EmbodiedScan dataset with the project.