1.
在执行example.py时出现找不到habitat,而我之前已经安装,故又在原来的基础上重新执行pip install -e.
通过conda list -n habitat查看可以看到habitat这个模块了
2.
~/habitat-sim/build$ ./viewer /path/to/data/scene_datasets/habitat-test-scenes/skokloster-castle.glb
StageAttributesManager::registerAttributesTemplateFinalize : Render asset template handle : /path/to/data/scene_datasets/habitat-test-scenes/skokloster-castle.glb specified in stage template with handle : /path/to/data/scene_datasets/habitat-test-scenes/skokloster-castle.glb does not correspond to any existing file or primitive render asset. Aborting.
Segmentation fault (core dumped)
这里的/path/to/data需要换成你下载的路径
./viewer /home/xxx/habitat-test-scenes/data/scene_datasets/habitat-test-scenes/skokloster-castle.glb
3.
执行此部分时/habitat-lab$ python setup.py test
遇到
E RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
../miniconda3/envs/habitat/lib/python3.6/site-packages/imageio_ffmpeg-0.4.2-py3.6-linux-x86_64.egg/imageio_ffmpeg/_utils.py:50: RuntimeError
然后通过pip install ffmpeg以及imageio_ffmpeg安装
conda list -n habitat
ffmpeg 1.4 pypi_0 pypi
gitdb 4.0.5 pypi_0 pypi
gitpython 3.1.11 pypi_0 pypi
gym 0.10.9 pypi_0 pypi
habitat 0.1.6 dev_0 <develop>
habitat-sim 0.1.6 pypi_0 pypi
imageio-ffmpeg 0.4.2 pypi_0 pypi
接着执行python setup.py test 还是存在相同的问题
于是sudo apt install ffmpeg
再次执行解决了
5.
when i run
python -u habitat_baselines/run.py --exp-config habitat_baselines/config/pointnav/ppo_pointnav_example.yaml --run-type train,
it happened assert cls.check_config_paths_exist(config) AssertionError.,and when i exchanged the --exp-config yaml ,it also displayed the same problem. But it succeed before, the example i have changed has been recovered according to the file in the github. I can't find problem until now.
~/habitat-lab$ python -u habitat_baselines/run.py --exp-config habitat_baselines/config/pointnav/ppo_pointnav_example.yaml --run-type train,
2020-11-25 14:06:17,302 config: BASE_TASK_CONFIG_PATH: configs/tasks/pointnav.yaml
CHECKPOINT_FOLDER: data/new_checkpoints
CHECKPOINT_INTERVAL: 50
CMD_TRAILING_OPTS: []
ENV_NAME: NavRLEnv
EVAL:
SPLIT: val
USE_CKPT_CONFIG: True
EVAL_CKPT_PATH_DIR: data/new_checkpoints
FORCE_BLIND_POLICY: False
LOG_FILE: train.log
LOG_INTERVAL: 10
NUM_PROCESSES: 1
NUM_UPDATES: 10000
ORBSLAM2:
ANGLE_TH: 0.2617993877991494
BETA: 100
CAMERA_HEIGHT: 1.25
DEPTH_DENORM: 10.0
DIST_REACHED_TH: 0.15
DIST_TO_STOP: 0.05
D_OBSTACLE_MAX: 4.0
D_OBSTACLE_MIN: 0.1
H_OBSTACLE_MAX: 1.25
H_OBSTACLE_MIN: 0.375
MAP_CELL_SIZE: 0.1
MAP_SIZE: 40
MIN_PTS_IN_OBSTACLE: 320.0
N