Paper | Project | pretrained models | Visual Results
- [2023.12.04] 🔥 For easy visual comparison with SSL, we have uploaded relevant visual results.
Abstract: The high computational costs of video super-resolution (VSR) models hinder their deployment on resource-limited devices, \eg, smartphones and drones. Existing VSR models contain considerable redundant filters, which drag down the inference efficiency. To prune these unimportant filters, we develop a structured pruning scheme called Structured Sparsity Learning (SSL) according to the properties of VSR. In SSL, we design pruning schemes for several key components in VSR models, including residual blocks, recurrent networks, and upsampling networks. Specifically, we develop a Residual Sparsity Connection (RSC) scheme for residual blocks of recurrent networks to liberate pruning restrictions and preserve the restoration information. For upsampling networks, we design a pixel-shuffle pruning scheme to guarantee the accuracy of feature channel-space conversion. In addition, we observe that pruning error would be amplified as the hidden states propagate along with recurrent networks. To alleviate the issue, we design Temporal Finetuning (TF). Extensive experiments show that SSL can significantly outperform recent methods quantitatively and qualitatively.
- Python == 3.8 (Recommend to use Anaconda or Miniconda)
- PyTorch == 1.10
- basicsr == 1.3.5
We train our network with REDS and Vimeo90K datasets (please see BasicSR)
Train x4 VSR bicubic on REDS
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 bash ./scripts/dist_train.sh 8 options/train/BasicVSR/train_BasicVSR_REDS_l1.yml
Train x4 VSR bicubic on Vimeo90K
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 bash ./scripts/dist_train.sh 8 options/train/BasicVSR/train_BasicVSR_Vimeo90K_BIx4.yml
Train x4 VSR BD on Vimeo90K
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 bash ./scripts/dist_train.sh 8 options/train/BasicVSR/train_BasicVSR_Vimeo90K_BDx4.yml
Please download checkpoints from Google Drive.
#####Testing VSR bicubic ########
sh test_reds_BI.sh
sh test_vid4_BI.sh
sh test_Vimeo_BI.sh
#####Testing VSR BD ########
sh test_udm10_BD.sh
sh test_Vimeo_BD.sh
sh test_vid4_BD.sh
If you have any question, please email zjbinxia@gmail.com
.