instruction:
- follow setup in README.md
success if:
- executing
import tensorflow
in python interpreter succeeds without error - executing
import uff
in python interpreter succeeds without error - the build command
cd build; make ..
succeeds without error
instruction:
-
execute the following from root directory of project
source scripts/download_models.sh source scripts/download_images.sh
success if:
- each of the models in
scripts/download_models.sh
is downloaded and extracted todata/checkpoints
- each of the images in
scripts/download_images.sh
is downloaded underdata/images
instruction:
-
reboot the Jetson TX2
-
execute the following from root directory of project
python scripts/models_to_frozen_graphs.py
success if:
- the script completes without error
- a frozen graph is created under
data/frozen_graphs
for each model inscripts/model_meta.py
that does not contain'exclude': true
instruction:
-
execute the following from root directory of project
python scripts/frozen_graphs_to_plans.py
success if:
- the script finished without error
- a serialized engine (.plan) file is created under
data/plans
for each model inscripts/model_meta.py
that does not contain'exclude': true
instruction:
-
execute the following to ensure the Jetson TX2 is in max-P mode
sudo nvpmodel -m 3
-
execute the following from root directory of project
python scripts/test_trt.py
success if:
- the script finished without error
- the file
data/test_output_trt.txt
is created - timing entries exist in
data/test_output_trt.txt
for each model inscripts/model_meta.py
that does not contain'exclude': true
- the timing entries are approximately equal (+/- 10%) to those found in README.md
instruction:
-
reboot the Jetson TX2
-
execute the following from the root directory of the project
python scripts/test_tf.py
success if:
- the script finished without error
- the file
data/test_output_tf.txt
is created - timing entries exist in
data/test_output_tf.txt
for each model inscripts/model_meta.py
that does not contain'exclude': true
- the timing entries are approximately equal (+/- 10%) to those found in README.md