-
Notifications
You must be signed in to change notification settings - Fork 387
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
Couldn't run Docker image(bjoffe/openface_flask_v2) on Jetson nano board #69
Comments
I highly appreciated your helo on this. |
The Jetson Nano is an ARM CPU and I have a feeling that the reason there is an issue is because the docker container does not support this architecture and only works for x86 which is why your test in Ubuntu on your PC worked. Unless you port the container yourself I doubt you will get a working solution |
Another Jetson Nano user here. |
Little success story - I modified a fork of this repo to run "dockerless" with Python3 on a Jetson Nano with following results:
My current problem: as soon as a person gets close enough to start the face-recognizer the application crashes. This is hard to debug as this is a os-call to th/torch (which is outdated) where some nested lua-files are executed. I will probably need to rewrite this part to use pytorch. Any suggestions welcome! pinging @SaddamBInSyed @paultbarrett as you probably are interested in this (Note: My changes are not commited to my forked repo yet). |
Update: successfully replaced the lua/torch dependencies with pytorch. Training works, face recognition basically works. Now there are some - hopefully minor - bugs in the Webapp waiting to be resolved. Interesting observation: face recognition/inference for a single frame with GPU takes approx 3 seconds while the same operation on CPU only takes only 0.3 seconds. |
I'm super interested also, i'm keen to see your updates :) |
@SaddamBInSyed @inchix |
Docker image for Jetson Nano available: domcross/home_surveillance_jetson - see my repo for details... |
nice work - i've got it going quite well on an x86 for some testing using a different base image to the nvgc pytorch container and also altered the build for opencv. Brilliant stuff to be tinkering with during the lockdown :) |
@domcross Trying to get this running on my Jetson but running into the following errors... docker run -v /config/:/host -p 5000:5000 -t -i domcross/home_surveillance_jetson /bin/bash root@f11b745a6af3:/home_surveillance/system# python WebApp.py And if I then try to install flask: When running python3: Any idea of how to get it running ?! |
Unfortunately the current docker-image for Nano is broken. |
@domcross any updates ?! ;) |
I got the same errors on my Nano. No Idea how to fix this. |
@htilly the basics should work, nevertheless this still needs some cleanup and bug fixing. @corgan2222 The Docker image is broken, don't try running it - its a waste of time. You might have better luck installing the dependencies and run the app from my cloned Github repo. You need to run with python3. |
HI.
I have carefully followed the @BrandonJoffe instruction and its working fine with Ubuntu VM PC. But since I want t use GPU, I have tried to run the same onjetson nano,
But I get the below error.
jetson-dl@jetsondl-desktop:~/projects/Programs/home_surveillance/system$ sudo docker run -v /home/:/host -p 5000:5000 -t -i bjoffe/openface_flask_v2 /bin/bash
standard_init_linux.go:207: exec user process caused "exec format error"
if anyone solved this before please help me here.
The text was updated successfully, but these errors were encountered: