-
Notifications
You must be signed in to change notification settings - Fork 23
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
demo #10
Comments
存储三值权重数据请将snapshot_ternary设置为true |
|
Hi, @sainisanjay. 1. In the solver.prototxt file. 2. Here we only consider the performance comparison. The speed issue is not considered, yet. |
Dear @fengfu-chris , Thank you so much for your kind reply and clarification. However, as we are using binary/ternary weights hence we are eliminating multiplication operation in convolution and we know that multiplication operations are time consuming. Thus i feel that atleast network should show some affect on computation time however your network does not have any computation time difference in ternary & binary & single. Any particular reason for this???? |
您好,我看论文里面说三值网络可以实现16或32倍的压缩,但我跑了lenet在mnist数据集上的demo:
LOG= ./build/tools/caffe train --gpu=0 --precision=ternary --delta=7 --solver=./examples/mnist/lenet_tn_solver.prototxt --debug=no 2>&1 | tee $LOG
训练的结果模型为:lenet_tn_iter_30000.caffemodel 大小为:2.3 MB (2,339,071 字节)
并没有实现压缩,模型好像也变大了,由原来的1.7M变成了现在的2.3M
The text was updated successfully, but these errors were encountered: