Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

剪枝后保存的权重文件和newmodel加载不上 #78

Open
lovegit2021 opened this issue Dec 8, 2021 · 3 comments
Open

剪枝后保存的权重文件和newmodel加载不上 #78

lovegit2021 opened this issue Dec 8, 2021 · 3 comments

Comments

@lovegit2021
Copy link

您好,我剪枝resnet164后保存为pruned.pth.tar和新的cfg,但是只用newmodel加载的时候无法加载pruned.pth.tar,报错为参数尺寸不匹配,想请教您这是因为channel_selection没有处理好吗?

@PQ-girl
Copy link

PQ-girl commented Mar 10, 2022

你好,请问你解决了吗

@lovegit2021
Copy link
Author

lovegit2021 commented Mar 17, 2022 via email

@YHLymj
Copy link

YHLymj commented May 24, 2022

您好!在进行剪枝时,传入的模型是稀疏训练保存的模型还是baseline训练的模型?
python vggprune.py --dataset cifar10 --depth 19 --percent 0.7 --model [PATH TO THE MODEL]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants