nn_benchmark
nn_benchmark copied to clipboard
Module <class 'brevitas.nn.quant_activation.QuantTanh'> not supported for export.
I'm trying to get QuantVGG11 by:
$ PYTORCH_JIT=1 python nn_benchmark/main.py --network QuantVGG11 --dataset CIFAR10 --epochs 3 --acq 4 --weq 4 --inq 8 --gpus 0 --onnx
then I got:
`2021-09-07 17:48:37,833 Saving checkpoint model to ./experiments/QuantVGG11_A4W4I8_20210907_173455/checkpoints/best.tar
Traceback (most recent call last):
File "nn_benchmark/main.py", line 13, in
RuntimeError: Module <class 'brevitas.nn.quant_activation.QuantTanh'> not supported for export. ` How can I fix it?
Seeing this after a long time, sorry!! This seems to be an error related to Brevitas...
I don't plan on maintaining this repo I am sorry... I wrote a simple wrapper around Brevitas to conduct simple experiments with the base MLP examples FINN provided but do not mean to replace the examples themselves (https://github.com/Xilinx/finn-examples). I would advise you to ask your questions on the gitter channels or in the FINN/Brevitas repositories directly! As for your case in particular, I remember I could not make VGG/Mobilenet to work but planned on trying to port them later on (which eventually never happened). In conclusion, sorry but I cannot help you! :frowning_face: