-
Notifications
You must be signed in to change notification settings - Fork 64
ResNet-50-train-val-gesl.prototxt #9
Comments
Oops! I forgot to add those files. Thanks for pointing out. Now the necessary files to reproduce resnet-50 pruning results should be there. Please let me know if you encounter other issues. |
I'm wondering why the sparse network has the same size as original one. Which are both 102Mb? |
Hi, good question. Even if pruned model has lots of zeros we didn't take advantage of that when storing to files. This is because our main goal was reducing inference time, so the model stored in memory during inference is small. If model size stored in disk (or transferring over network) is important, we need to change the code to store the model in a different format taking advantage of the zeros. I'm not that familiar with hdf5 and so on, so I'd need some help here. |
Regarding speed up in GPU, I didn't optimize for GPU inference speed using the sparsity. In Xeon and Xeon Phi, you should be able to see speedups. |
Thank you for you reply. Another question which is not related to this thread. Is it possible to use it on ARM cpu? |
Technically, yes. ARM also should be able to take advantage of sparsity to speed up inference but you'd need to implement an optimized sparse convolution similar to the one for x86 in sconv.hpp . |
Hi,
Can you provide models/resnet/ResNet-50-train-val-gesl.prototxt?
The text was updated successfully, but these errors were encountered: