Instance-Aware Dynamic Neural Network Quantization, CVPR 2022. Credits for Huawei Noah's Lab
To train the model:
python3 eval.py --num-classes 200 --tar_bit 4 --train_dataset_path ./train
To evaluate the model:
python3 eval.py --val_dataset_path ./organized_val_data --num-classes 200 --tar_bit 4
The dataset used is TinyImageNet
Or
Apache 2.0