Skip to content
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

Setting up MMdetction on Jetson Nano #7323

Closed
SourabhRanade opened this issue Mar 4, 2022 · 7 comments
Closed

Setting up MMdetction on Jetson Nano #7323

SourabhRanade opened this issue Mar 4, 2022 · 7 comments
Assignees
Labels
community help wanted Extra attention is needed good first issue Good for newcomers

Comments

@SourabhRanade
Copy link

I wanted to setup the mmdetection setup on a jetson nano. Has anyone managed to acheive the same?

@BIGWangYuDong BIGWangYuDong added community help wanted Extra attention is needed good first issue Good for newcomers labels Mar 6, 2022
@BIGWangYuDong
Copy link
Collaborator

#1530 or #4109 may help you.

@SourabhRanade
Copy link
Author

SourabhRanade commented Mar 6, 2022

@BIGWangYuDong Up unitl now I have tried the following steps :

Step 1: Installed nvidia precompiled wheel as pytorch downloaded from the official site fails to utilize to recognize the GPU in Jetson Nano. For this I have used the following link : PyTorch for Jetson

Step 2 : Tried to follow the normal mmdetection installation from scratch using the following links : https://mmdetection.readthedocs.io/en/v2.2.0/install.html#a-from-scratch-setup-script

Step 2.1 : During compiling mmcv -full from source , the jetson nano simply hangs. MMCV lite installation goes through but if on running the following verification statement from mmdet.apis import init_detector, inference_detector I am thrown with the following error : Error : No module named 'mmcv._ext'. On refering the following issue : #3271, the suggestion is to install the mmcv -full.

My Jetson Nano has been flashed and has nothing else installed in it. It has a 64GB SD card in it.
I am unable to proceed hereone.

@BIGWangYuDong
Copy link
Collaborator

Yes, seems that you need to install mmcv-full to avoid the error, using MMCV_WITH_OPS=1 pip install -e . to install mmcv-full from the source code. it will take a while to install the mmcv-full.
I haven't used Jetson Nano before. Issue 1 and issue 2 in MMCV may help you.

@SourabhRanade
Copy link
Author

@BIGWangYuDong Thank you ! With the initial steps that I mentioned and the link provided under Issue 1 , I was able to setup mmdetection on jetson nano.

@pinnintipraneethkumar
Copy link

hi, can you please explain in detail ?

@pinnintipraneethkumar
Copy link

I'm trying to install mmcv with this command pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html it got stuck? will this command work on jetson nano?

@blackCmd
Copy link

blackCmd commented Jan 2, 2023

I can't....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community help wanted Extra attention is needed good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants