InternNav-Eval-Demo / check_paths.py
jandan138's picture
fix 3d model path
85ea1a9
raw
history blame
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}')