Model Compression : Pruning & decomposition
|
MACs |
F1 |
Competition Score |
Before |
1688940.0 |
0.6206 |
0.4005 |
After |
1083210.0 |
0.6149 |
0.3431 |
python test_demo.py --customized_model False --eval True
python test_demo.py --customized_model True --eval True
pytorch '1.7.1+cu101'
albumentations
sklearn
ptflops
Model Compression/
├──input/
| └── data/
| ├── train/
| ├── trainImg00001.jpg
| ├── ...
| └── trainImg22640.jpg
| └── val/
| ├── valImg0001.jpg
| ├── ...
| └── valImg8816.jpg
├──pretrained/
│ ├── ShuffleNet_final.pt
│ └── shufflenet_g3_wd4.pth
├──solution/
| ├── dataloader.py
| ├── ...
| └── utils.py
└──test_demo.py