Spaces:
Sleeping
Sleeping
Download check_paths.py from pc4work/InternNav-Eval-Demo: direct link, hf CLI and curl.
- Browser
- Download file 668 Bytes
-
https://huggingface.co/spaces/pc4work/InternNav-Eval-Demo/resolve/main/check_paths.py
- Command line
-
hf download hf://spaces/pc4work/InternNav-Eval-Demo/check_paths.py
-
curl -L -o check_paths.py https://huggingface.co/spaces/pc4work/InternNav-Eval-Demo/resolve/main/check_paths.py
668 Bytes
| from config import SCENE_CONFIGS | |
| import os | |
| print('GLB文件路径检查:') | |
| for scene, config in SCENE_CONFIGS.items(): | |
| glb_path = config.get('glb_path', '') | |
| exists = os.path.exists(glb_path) | |
| status = '存在' if exists else '不存在' | |
| print(f'{scene}: {glb_path} - {status}') | |
| print('\nEpisode图片路径检查 (以episode_1为例):') | |
| for scene, config in SCENE_CONFIGS.items(): | |
| scene_name = config.get('scene_name', scene) | |
| image_path = os.path.join('scene_assets', f'{scene_name}_0.jpg') | |
| exists = os.path.exists(image_path) | |
| status = '存在' if exists else '不存在' | |
| print(f'{scene} -> {scene_name}: {image_path} - {status}') | |