Closed Doruk-Dilmen closed 2 years ago
For quantization, use qat_best.pth.tar. Check the kernel size in YAML to make it the same as the model.
This issue has been marked stale because it has been open for over 30 days with no activity. It will be closed automatically in 10 days unless a comment is added or the "Stale" label is removed.
Hello,
I create custemize model:![image](https://user-images.githubusercontent.com/91119666/172296729-96d28144-4c7a-4da3-9334-c089c2e0a814.png)
Then, I trained the model but I can't do it Synthesis part. After tranning these files were created:![image](https://user-images.githubusercontent.com/91119666/172297267-5b3b1aed-61b5-423b-ad53-181d78e31eda.png)
I used this command line:
python quantize.py proj/best.pth.tar proj/proj_q8.pth.tar --device MAX78000
proj_q8.pth.tar folder is created.I wrote the yaml file for my custom model:
![image](https://user-images.githubusercontent.com/91119666/172297806-c29153cd-0181-47a0-b214-66936baaca14.png)
After that, I runned this command line:![image](https://user-images.githubusercontent.com/91119666/172298037-bc211a32-d792-40c9-b16c-7d1b8f6d01d1.png)
python ai8xize.py --verbose --test-dir demos --prefix doruk-kws20 --checkpoint-file proj/best.pth.tar --config-file networks/kws20-doruk.yaml --device MAX78000 --compact-data --mexpress --softmax
But result:Can you help me? What am I doing wrong?