Skip to content

对遥感图像任务——变化检测(CD)进行结构化通道剪枝

Notifications You must be signed in to change notification settings

WeiCL7777/Channel-Pruning-for-Change-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Channel-Pruning-for-Change-Detection

对遥感图像任务——变化检测(CD)进行结构化通道剪枝

Pruning

运行 prune 文件夹中的 jupyter 文件,对 resnet50 进行通道剪枝

Train

python train.py --backbone 'resnet' --dataset 'levir' --mode 'rsp_300'

Eval

python eval.py --backbone 'resnet' --dataset 'levir' --mode 'rsp_300' --path [model path]

Visualization

python visualization.py --backbone 'resnet' --dataset 'levir' --mode 'rsp_300' --path [model path]

Reference

The codes are mainly borrowed from https://github.com/ViTAE-Transformer/RSP.git and https://github.com/VainF/Torch-Pruning.git

About

对遥感图像任务——变化检测(CD)进行结构化通道剪枝

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages