Skip to content

Scripts for setting up Jetson TX2 with OpenCV Tensorflow & Keras for deep learning

Notifications You must be signed in to change notification settings

wilsonwang371/JetsonTX2ForDeeplearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JetsonTX2ForDeeplearning

Setting up Jetson TX2 with OpenCV Tensorflow & Keras for deep learning. I have tried a lot of online tutorials about setting up Jetson TX2. However, not all of them works. The reason is due to some of them are outdated and the libraries provided by Nvidia got upgraded. This is what I found at least working for now.

Note: If there is any library update and for some reason, any of them is not working, let me know and I will try to update the code.

OpenCV

https://jkjung-avt.github.io/opencv3-on-tx2/

./build_install_opencv.sh

To check OpenCV installation, run this:

ls /usr/local/lib/python3.5/dist-packages/cv2.*
# supposed to be /usr/local/lib/python3.5/dist-packages/cv2.cpython-35m-aarch64-linux-gnu.so
ls /usr/local/lib/python2.7/dist-packages/cv2.*
# supposed to be /use/local/lib/python2.7/dist-packages/cv2.so
python3 -c 'import cv2; print(cv2.__version__)'
# expect 3.4.0
python2 -c 'import cv2; print(cv2.__version__)'
# expect 3.4.0

Tensorflow Install

I highly recommend to install prebuild binary. As suggested from https://github.com/JasonAtNvidia/JetsonTFBuild

Otherwise, please follow the link to compile and install tensorflow.

Note: please make sure the versions of dependencies meet the requirement, otherwise, you will see errors like not being able to find a particular library.

./install_tensorflow.sh

Keras Install

./install_keras.sh

About

Scripts for setting up Jetson TX2 with OpenCV Tensorflow & Keras for deep learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages