root@ceb7ee9a3713:/workspace# tlt-prune -pm /home/samjth/NVIDIA_Transfer_Learning_Toolkit/Labelling_Software/output/export_model/prune/frcnn_kitti.epoch47.tlt -o /home/samjth/NVIDIA_Transfer_Learning_Toolkit/Labelling_Software/output/export_model/prune/logs -eq intersection -pth 0.1 -k echo $KEY
Using TensorFlow backend.
Traceback (most recent call last):
File "/usr/local/bin/tlt-prune", line 10, in <module>
sys.exit(main())
File "./common/magnet_prune.py", line 169, in main
File "./common/magnet_prune.py", line 105, in run_pruning
File "./common/utils.py", line 154, in decode_to_keras
IOError: Invalid decryption. Unable to open file (File signature not found)
So, your $KEY is empty.It is not expected.
Please export the $KEY or set $kEY explicitly to try.
For example, if your key is abcdef, then you can set it in your command line as below.
root@ceb7ee9a3713:/workspace# echo KEY
KEY
root@ceb7ee9a3713:/workspace# tlt-prune -pm /home/samjth/NVIDIA_Transfer_Learning_Toolkit/Labelling_Software/output/export_model/prune/frcnn_kitti.epoch47.tlt -o /home/samjth/NVIDIA_Transfer_Learning_Toolkit/Labelling_Software/output/export_model/prune/logs -eq intersection -pth 0.1 -k KEY
Using TensorFlow backend.
Traceback (most recent call last):
File "/usr/local/bin/tlt-prune", line 10, in <module>
sys.exit(main())
File "./common/magnet_prune.py", line 169, in main
File "./common/magnet_prune.py", line 105, in run_pruning
File "./common/utils.py", line 154, in decode_to_keras
IOError: Invalid decryption. Unable to open file (File signature not found)
root@ceb7ee9a3713:/workspace#
I have changed according to your suggestions ,but the same error ,
root@ceb7ee9a3713:/workspace# export KEY=KEY
root@ceb7ee9a3713:/workspace# echo $KEY
KEY
root@ceb7ee9a3713:/workspace# tlt-prune -pm /home/samjth/NVIDIA_Transfer_Learning_Toolkit/Labelling_Software/output/export_model/prune/frcnn_kitti.epoch47.tlt -o /home/samjth/NVIDIA_Transfer_Learning_Toolkit/Labelling_Software/output/export_model/prune/logs -eq intersection -pth 0.1 -k $KEY
Using TensorFlow backend.
Traceback (most recent call last):
File "/usr/local/bin/tlt-prune", line 10, in <module>
sys.exit(main())
File "./common/magnet_prune.py", line 169, in main
File "./common/magnet_prune.py", line 105, in run_pruning
File "./common/utils.py", line 154, in decode_to_keras
IOError: Invalid decryption. Unable to open file (File signature not found)
root@ceb7ee9a3713:/workspace#
tlt-train [-h] faster_rcnn -e <experiment_spec> This is my train command, where i didn’t used any key. faster_rcnn train spec file contains a key value
Both key is same ($KEY). Do i need to get the API key from ‘NVIDIA NGC’ here and update the train_spec “enc_key: ‘$KEY’” with the API key , and run the train from scratch ?
I have already read those answers, but i didn’t found anything to solve this issue.
I’m using faster_rcnn for training, where the training spec contain the $KEY parameter, but the training command is ‘tlt-train faster_rcnn -e /spec_file_path’ , which didn’t contain the key parameter.