installTensorFlowTX1 icon indicating copy to clipboard operation
installTensorFlowTX1 copied to clipboard

TX1 tensorflow Performance issue.

Open vusdo opened this issue 7 years ago • 1 comments

You are the father of TX1. You think you know some answers.

Installation completed with the following address. Https://github.com/jetsonhacks/installTensorFlowTX1

Swap memory is set to 8GB.

The time it takes to run the sample below is 15 seconds on TX1. However, on an i5 class PC with Tensorflow CPU version installed, it takes only 1 second.

Cd tensorflow / models / image / imagenet Python classify_image.py

It is expected that swap memory is not available and slow because of lack of basic memory.

Please run the sample once, and help me to run the sample above quickly.

Please. Thank you.

vusdo avatar Jan 06 '17 05:01 vusdo

Vusdo,

I think your problem is simply due to the CUDA and GPU loading when the TF session is started. I installed TensorFlow with the same repository and as can be seen in the attached image below, the first image takes 10s on the TX1 but subsequent images only take 0.2s.

If you try to run multiple images within the TF session with your python script, you should be able to replicate what I have.

Hope this helps you.

screen shot 2017-02-21 at 14 14 34

SimonTate avatar Feb 21 '17 14:02 SimonTate