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

剪枝后的模型怎么存成size 小的caffemodel #7

Open
3DMM-ICME2023 opened this issue Dec 23, 2017 · 5 comments
Open

剪枝后的模型怎么存成size 小的caffemodel #7

3DMM-ICME2023 opened this issue Dec 23, 2017 · 5 comments

Comments

@3DMM-ICME2023
Copy link

3DMM-ICME2023 commented Dec 23, 2017

您好, 感谢您的分享!@may0324
我想问您下 剪枝后的模型怎么存成size 小的caffemodel. 可以分享下有关这方面的代码吗,谢谢您!

@A-suozhang
Copy link

I have the same problem here..don't seem to understand how to transform the current data to the smaller one.n@may0324

@A-suozhang
Copy link

@liu666666 Hey Bro, I found one Quantization tool which could compress the .caffemodel into the .npz(stored in data, Codebook, labels) at https://github.com/yuanyuanli85/CaffeModelCompression, This solved my problem, probably could solve yours.

@liujianisme
Copy link

同问。。。。。。

@chaipangpang
Copy link

@A-suozhang thanks

@Hugo1994
Copy link

Hugo1994 commented Nov 14, 2018

@liu666666 Hey Bro, I found one Quantization tool which could compress the .caffemodel into the .npz(stored in data, Codebook, labels) at https://github.com/yuanyuanli85/CaffeModelCompression, This solved my problem, probably could solve yours.

@A-suozhang Hello,I used the Quantization tool you recommended, I want to store and quantify the sparse matrix that has been pruned for AlexNet, and there is no problem when I run./build.sh.However, when I ran python caffemodel_compress. py, the following error occurred. I tried all kinds of methods but couldn't find the problem

image

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

5 participants