TF2
TF2 copied to clipboard
I want to test the quantitative effect, what do I need to do?
Assuming you have downloaded the compressed weight: https://1drv.ms/u/s!Am9Mk04MA_K1akWOEe6IRlw_ons?e=02ApjG and the corresponding dataset and readed the README of the quantization part of the Transform_kit. Then you should have created the activations Q file, and you could test the inference accuracy on ImageNet or other dataset. Currently, you can modify the code under https://github.com/TF2-Engine/TF2/tree/master/Runtime_Engine/cnn/host to the CNN that you want test, and combine the Q file of different layers those you need and then 'make', run the 'run.sh' file. You can read the details of the host code and it will help a lot if you want to test more.