@dusty_nv
I am trying to build the pytorch on jetson nano.when I try to download the wget link (wget https://nvidia.box.com/shared/static/veo87trfaawj5pfwuqvhl6mzc5b55fbj.whl -O torch-1.1.0a0+b457266-cp36-cp36m-linux_aarch64.whl) you have posted, but it occurs connection refused. could you share a google drive link or other available link. thank you.
I have a faster-rcnn.pytorch model. The repository address for this project is: https://github.com/jwyang/faster-rcnn.pytorch. I want to port this model to jetson nano. Is there a tutorial for reference? .
The jetson I bought has already installed python 3.6 and JetPack 4.2, so I didn’t build any wheels according to “Build Instructions”.
I downloaded the swap partition just by following “Build Instructions”.
I downloaded the “torch-1.1.0a0+b457266-cp36-cp36m-linux_aarch64.whl” offline, and then used “pip3 install .whl” to install pytorch1.1. I also used the following command to the torchvision:
$ git clone GitHub - pytorch/vision: Datasets, Transforms and Models specific to Computer Vision
$ cd vision
$ sudo python setup.py install
But when I install scipy with “pip3 install scipy” it always fails.
zcy@zcy-desktop:~/0_projects/faster-rcnn.pytorch$ pip install Cython
Collecting Cython
Downloading https://files.pythonhosted.org/packages/f8/da/c979464858b257b21a6472a85285548c91f5b4dc773cb049cfdfb3ceeb02/Cython-0.29.7.tar.gz (2.0MB)
100% |████████████████████████████████| 2.0MB 45kB/s
Building wheels for collected packages: Cython
Building wheel for Cython (setup.py) ... done
Stored in directory: /home/zcy/.cache/pip/wheels/79/b9/15/c589b51f4e91b37faa76362180166a2041e4286c38dbc45fc6
Successfully built Cython
Installing collected packages: Cython
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/cython.py'
Consider using the `--user` option or check the permissions.
The box.com is blocked by GFW. (box.com被墙了)
For those from China (a.k.a behind the GFW), You may download the wheel from my shared link:
Baidu NetDriver Link: 百度网盘 请输入提取码
Code : ribc
Sorry I didn’t download python2 wheel. I prefer to use python3. Please email me if you insist to use python2 and can’t find a VPN to download the wheel from box.com
Hi Dusty, thank you. I’ve downloaded the wheel from a proxy in Hongkong, and verified with MD5 checksum.
The box.com is blocked by China’s Great Fire Wall (GFW), either does Google driver (so can’t solve the problem even if you make a copy to Google driver). I put the python3’s wheel in Baidu driver and shared the link in this thread. Copy here:
Baidu NetDriver Link: 百度网盘 请输入提取码
Code : ribc
In fact I’m using a VPN from Los Angeles, with access to Google, Twitter, etc. But it just somehow filed connecting to box.com.
It would be so nice of you if you could down the wheel for python2 and upload to baidu driver.
Big thanks.
As advised, I reflashed the Xavier with Jetpack 4.2. But it still is not working.
I created a new virutal environment using virtual-env and installed the pre-built wheel for python 3 specified in the top post.
>>> import torch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/nvidia/python3/lib/python3.6/site-packages/torch/__init__.py", line 97, in <module>
from torch._C import *
ImportError: numpy.core.multiarray failed to import