Skip to content

aoji0606/RepVGG-Pruning

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Repository for RepVGG pruning

This repository is a prunable implementation of RepVGG. We refer to the official RMNet repository.

Requirements

To install requirements:

pip install torch torchvision

Training

To prune the models, run this command:

python train_pruning.py --sr 1e-4 --threshold 5e-4 # sparse training

python train_pruning.py --eval xxx/ckpt.pth # eval

python train_pruning.py --finetune xxx/ckpt.pth # pruned finetuning

TODO: Results

Our model achieves the following performance on :

Contributing

Our code is based on RMNet, RepVGG and nni/amc pruning

About

PyTorch repository for RepVGG pruning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%