Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wilsonwang371/jetsontx2fordeeplearning

Scripts for setting up Jetson TX2 with OpenCV Tensorflow & Keras for deep learning
https://github.com/wilsonwang371/jetsontx2fordeeplearning

jetson-tx2 keras opencv opencv-python tensorflow

Last synced: about 4 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```