Open BoLeiChen opened 2 years ago
Hey @BoLeiChen , I hope you've fixed the problem but if you haven't:
The error here says habitat_sim.physics
is a null object. Since the module should be in <path to your conda env>/lib/python3.6/site-packages/habitat_sim/physics.py
, I guess something is off with your Habitat Sim installation. I just updated the installation instructions, and for Habitat Sim specifically I'm now suggesting to install from conda as opposed to by building from source. Hope it helps.
Sorry for the late reply. I've been busy with other stuff for the past month.
I've also meeting this problem, have you solved it?
Hey @BoLeiChen , I hope you've fixed the problem but if you haven't:
The error here says
habitat_sim.physics
is a null object. Since the module should be in<path to your conda env>/lib/python3.6/site-packages/habitat_sim/physics.py
, I guess something is off with your Habitat Sim installation. I just updated the installation instructions, and for Habitat Sim specifically I'm now suggesting to install from conda as opposed to by building from source. Hope it helps.Sorry for the late reply. I've been busy with other stuff for the past month.
i ve tried both install from source and conda install, both this error I tested the physics env in habitat sim, it works fine,
Same problem here. ROS agent not working with habitat and getting:
AttributeError: 'NoneType' object has no attribute 'motion_type'
(habitat installed using conda and habitat-sim seems to work properly)
@JulioPlaced I ran the same command the OP used:
python src/scripts/eval_and_vis_habitat.py --input-type rgbd --model-path data/checkpoints/v2/gibson-rgbd-best.pth --task-config configs/setting_4_configs/pointnav_rgbd-mp3d.yaml --episode-id -1 --seed-file-path seeds/2_seeds.csv --log-dir logs --make-maps --map-dir maps --make-plots --plot-dir plots
But I didn't get the error. From your error message I can tell PhysicsEnv.rigid_obj_mgr.get_object_by_handle() returned a NontType
object, though it should've returned an object of type habitat_sim._ext.habitat_sim_bindings.ManagedBulletRigidObject
which contains motion_type
attribute. So probably something went wrong inside that function?
FYI 1) if I take a step back and print out obj_handles
I can see
['locobot_merged_:0000']
; 2) I built Habitat Sim 0.2.0 from source but I guess you installed the same version from conda. I'm not expecting any discrepency between source/conda build but considering the fact that get_object_by_handle() resides in Habitat Sim and that method might be where the problem comes from, I may try the conda build as well.
I got this error while running python src/scripts/roam_with_joy.py
but I guess the problem is equivalent as it is related to not correctly getting the object habitat_sim.
Habitat-sim physics seem to work fine when running habitat examples. So I don't know why this problem is appearing. Also locobot merged was handled successfully in my case too.
Let me try compile habitat 0.2.0 from source instead of using conda, just in case.
I've also meeting this problem, have you solved it?
I've also meeting this problem, have you solved it?
you need to download default.physics_config.json to data directory
Hi, I got an error when trying to run the following command. Can you help me with the following? Thank you very much. python src/scripts/eval_and_vis_habitat.py --input-type rgbd --model-path data/checkpoints/v2/gibson-rgbd-best.pth --task-config configs/setting_4_configs/pointnav_rgbd-mp3d.yaml --episode-id -1 --seed-file-path seeds/2_seeds.csv --log-dir logs --make-maps --map-dir maps --make-plots --plot-dir plots
The specific errors are as follows:
s/mp3d/2t7WUuJeko7/2t7WUuJeko7.glb' specified in Scene Attributes exists in dataset library. I0507 18:58:32.987673 68071 SceneDatasetAttributes.cpp:85] ::addNewSceneInstanceToDataset : Dataset : 'default' : Lighting Layout Attributes no_lights specified in Scene Attributes exists in dataset library. I0507 18:58:32.987699 68071 Simulator.cpp:171] ::reconfigure : createSceneInstance success == true for active scene name : data/scene_datasets/mp3d/2t7WUuJeko7/2t7WUuJeko7.glb with renderer. I0507 18:58:32.987965 68071 simulator.py:221] Loaded navmesh data/scene_datasets/mp3d/2t7WUuJeko7/2t7WUuJeko7.navmesh I0507 18:58:36.142938 68071 AttributesManagerBase.h:281]