I am facing error when:
tlt-prune -pm /workspace/output/Faster-rcnn/frcnn_kitti.epoch11.tlt -o /workspace/output -pth 0.7 -k $KEY
command fired.
error:
Using TensorFlow backend.
Traceback (most recent call last):
File “/usr/local/bin/tlt-prune”, line 10, in
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)
Could you please check /workspace/output/Faster-rcnn/frcnn_kitti.epoch11.tlt is available?
And how about running against other tlt files under that folder(/workspace/output/Faster-rcnn)?
Hi sdeep038,
Could you please double check your $KEY? Did you export the correct ngc API key into $KEY?
On my side, if I type a wrong key into command, I can reproduce the same error as yours.
So, it is high possibility that there is something wrong in your $KEY.
I would tell you an easy method to ignore typing $KEY.
If your $KEY is abcedfg, then you can type it explicitly in your command as below.
Click Generate API Key to create your own API Key. If you have forgotten or lost your API Key, you can come back to that page to create a new one at any time.
Hi Sdeep038,
As we synced offline,please check your ngc key setting in training spec. Retain again with your new key got from ngc.
Also please check if other notebooks work well.
I understood but why we gave $API_KEY at training time?
that’s my question.
i understood while downloading model from cloud we have to give API_KEY.
but what is the need to give key at training time?