Hello!
I am currently trying to start a project with the Jetson Nano, for which I need to install Mxnet.
I am also a newbie in library installation, so i find myself completely clueless right now.
Then, I’ve realized my Jetson doesn’t seem to have correctly the paths directing to CUDA libraries after running:
sudo nvcc --version
and obtaining
sudo: nvcc: command not found
They both suggest to either update the file paths in .profile or .bashrc.
My question really is, should I modify the file “autoinstall_mxnet.sh” to fix this?
If yes, how? directly in the .sh, or in the .profile/.bashrc files?
Is there more information about any other paths I need to modify?
Thanks for your time! I’m really desperate and lost. Wish you a great day!
The environment for CUDA is supposed to be enabled now. However, the installation still fails.
This is what the terminal shows when it kills the process:
Killed error is usually caused by the out-of-memory issue.
It seem that you already reach the last step for testing.
Guess that mxnet is installed but just run out of memory when verification.
1. Please try to import mxnet to see if the installation is well or not first.
$ python3
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mxnet
>>>
2. Run the test script again with 4G swap memory.
Check this comment to create swap memory:
Run this command to verify the resnet18 inference:
If your memory is large enough for inference, you don’t need to create swap.
Since swap memory use storage space for saving data, the access time is expected to be slower.