cnn-quantization
cnn-quantization copied to clipboard
AttributeError: 'TruncationOpManagerInference' object has no attribute 'quantizers'
Can you please explain what need to be changed for the following error ? Thank you.
python inference/inference_sim.py -a resnet50 -b 512
/home/user/anaconda3/lib/python3.7/site-packages/yaml/constructor.py:126: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
if not isinstance(key, collections.Hashable):
=> using pre-trained model 'resnet50'
Perform BN folding
Traceback (most recent call last):
File "inference/inference_sim.py", line 381, in
I am having the same issue. Did you find a solution?
I just found that the command works fine when I ran in terminal. Hope this helps.