Hi all, I tried executing the sample.py file from the directory
/usr/src/tensorrt/samples/python/int8_caffe_mnist/
python3.6 sample.py -d /usr/src/tensorrt/data
But it says that below files are not present
“t10k-images-idx3-ubyte”, “t10k-labels-idx1-ubyte”, “train-images-idx3-ubyte”,
These files are not present in the data directory
/usr/src/tensorrt/data and /usr/src/tensorrt/data/mnist
May I know how to get these files. Please go through the below trace logs of the execution of sample.py
Traceback (most recent call last):
File “sample.py”, line 107, in
main()
File “sample.py”, line 92, in main
_, data_files = common.find_sample_data(description=“Runs a Caffe MNIST network in Int8 mode”, subfolder=“mnist”, find_files=[“t10k-images-idx3-ubyte”, “t10k-labels-idx1-ubyte”, “train-images-idx3-ubyte”, ModelData.DEPLOY_PATH, ModelData.MODEL_PATH], err_msg=“Please follow the README to download the MNIST dataset”)
File “/usr/src/tensorrt/samples/python/int8_caffe_mnist/…/common.py”, line 74, in find_sample_data
return data_paths, locate_files(data_paths, find_files, err_msg)
File “/usr/src/tensorrt/samples/python/int8_caffe_mnist/…/common.py”, line 103, in locate_files
raise FileNotFoundError(“Could not find {:}. Searched in data paths: {:}\n{:}”.format(filename, data_paths, err_msg))
FileNotFoundError: Could not find t10k-images-idx3-ubyte. Searched in data paths: [‘/usr/src/tensorrt/data/mnist’, ‘/usr/src/tensorrt/data/mnist’]
Please follow the README to download the MNIST dataset
Thanks and Regards
Nagaraj Trivedi