Closed mingqxu-zz closed 6 years ago
@mingqxu Thanks for your interest towards the project.
This issue is probably due to running without the privileged
flag. So add this to the run command:
docker run --privileged ...
Let me know if this helps and if yes, we can close this issue.
Yes, the issue is resolved. Thank you very much for your prompt reply and help!
After following the instructions for building the jetson tx2, wanting to just test whether the code runs standalone,
nvidia@tegra-ubuntu:~/Projects/iot-edge-darknet-module$ docker run vjrantal/iot-edge-darknet-module:latest layer filters size input output 0 python: ./src/cuda.c:36: check_error: Assertion `0' failed. CUDA Error: no CUDA-capable device is detected
I try to run python interactively to see whether the jetson onboard camera can be launched. I changed the last line of iot-edge-darknet-module/Dockerfile
from:
CMD ["python", "-u", "module.py"]
to
CMD ["python"]
and then invoke "docker run -it vjrantal/iot-edge-darknet-module:latest" Here is the session:
nvidia@tegra-ubuntu:~/Projects/iot-edge-darknet-module$ docker run -it vjrantal/iot-edge-darknet-module:latest Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information.
Let me know whether there is any additional information you require to perform diagnostics. Thank you very much in anticipation of your help!