-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'habitat_sim._ext' #12
Comments
Hi, https://github.com/devendrachaplot/Neural-SLAM/blob/master/README.md#installing-dependencies |
This comment has been minimized.
This comment has been minimized.
@devendrachaplot Thank you so much for reply! I follow your instructions carefully, and encounter another error After that, I encounter another trouble that I cannot run with GPU. I fix it by change my torch(cuda11.0) to torch(cuda10.0). Then, I start to run commands of the tutorial, I've encounter several new problems as below: New problem 1 -
|
For the first problem, you can try adding the argument: For the second problem, you can try running the habitat simulator and/or model without using the GPU. For running habitat without GPU, you need to install the CPU version. For running the model without using the GPU, you can use |
Overview
When running
python main.py -n1 --auto_gpu_config 0 --split val
, I will get error if I write~/.bashrc
withexport PYTHONPATH=$PYTHONPATH:~/Desktop/habitat-sim/
I will also get error if I write
~/.bashrc
withunset PYTHONPATH
My Info
ENVIRONMENT INFO:
Platform: Linux-5.4.0-52-generic-x86_64-with-glibc2.10
Machine: x86_64
Processor: x86_64
Libc version: glibc 2.27
Mac version:
Python version: 3.8.3
Architecture: 64bit ELF
Win version:
System OS: Linux
Release: 5.4.0-52-generic
Version: #57 18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020
Operational System: linux
GCC version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0\n'
CMAKE version: 3.14.0
NVIDIA-SMI: Mon Oct 26 12:50:01 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1650 Off | 00000000:01:00.0 On | N/A |
| N/A 42C P8 3W / N/A | 433MiB / 3903MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1323 G /usr/lib/xorg/Xorg 18MiB |
| 0 N/A N/A 1413 G /usr/bin/gnome-shell 47MiB |
| 0 N/A N/A 1688 G /usr/lib/xorg/Xorg 148MiB |
| 0 N/A N/A 1827 G /usr/bin/gnome-shell 134MiB |
| 0 N/A N/A 3226 G /usr/lib/firefox/firefox 1MiB |
| 0 N/A N/A 31858 G ...AAAAAAAAA= --shared-files 79MiB |
+-----------------------------------------------------------------------------+
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Thu_Jun_11_22:26:38_PDT_2020
Cuda compilation tools, release 11.0, V11.0.194
Build cuda_11.0_bu.TC445_37.28540450_0
My Steps
1.Git clone
2.conda install
Instructed by habitat-sim tutorials
3.build habitat-sim
Instructed by BuildFromSource:
All these bulid commands above run successfully.
All these example files above run successfully.
4.export PATHONPATH
This is the most confusing part. I really have no idea what to do.
Instructed by BuildFromSource:, we should write
~/.bashrc
withexport PYTHONPATH=$PYTHONPATH:~/Desktop/habitat-sim/
However, after doing that, I even could not succeed run example file of habitat-sim, and will get error:Then accoriding to erikwijmans commented on Feb 14,
Then I write
~/.bashrc
withunset PYTHONPATH
. I can succeed to run example files of habitat-sim again.I can successfully bulid and run the example files.
6.build Neural-SLAM
I will get error:
I ignore it and run next commands:
pip install -r requirements.txt
(I don't whether I need to upgrade the torch version to 1.3.1)Then, when run command
python main.py -n1 --auto_gpu_config 0 --split val
, I get error:It should be noticed that, at that time, I wrote
~/.bashrc
withunset PYTHONPATH
.Thus, I try to write
~/.bashrc
withexport PYTHONPATH=$PYTHONPATH:~/Desktop/habitat-sim/
, then the error will change to:So what is the correct PYTHONPATH to add in to
~/.bashrc
?How to fix the error?
Expectation
Successfully run the code.
The text was updated successfully, but these errors were encountered: