Tensorflow installation problem on TX2

Hello,

I installed tensorflow-gpu on TX2 per the following instructions:

https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html

But, when I try to verify the installation by importing tensorflow in python3, I get a segmentation

fault. Pease advise.

Thanks

Hi deshanej

Please refer below link if can help on resolving your issue: https://elinux.org/Jetson_Zoo#TensorFlow

Hello,

Thanks for the assistane, I uninstalled the tensorflow mentioned above, and reinstalled per the instructions in the link that you referred:

install prerequisites

$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev

install and upgrade pip3

$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip

install the following python packages

$ sudo pip3 install -U numpy grpcio absl-py py-cpuinfo psutil portpicker six mock requests gast h5py astor termcolor protobuf keras-applications keras-preprocessing wrapt google-pasta

install the latest version of TensorFlow

$ sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu

Tried importing tensorflow in python3, got the segmentation fault again.

Is building from source the next option? But still curious as to why this aforementioned method fails.

Thanks

Hi,

A possible issue is that you are using the package built with different JetPack version.
Please use this command for the JetPack4.2.1:

sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v42 tensorflow-gpu==1.14.0+nv19.10

Thanks

Hi,

The issue is fixed. Looks like the TX2 wasnt flashed properly, once reflashed, everything works fine.

Thanks