OpenFace Torch Model Sizes Substantially Reduced from 966MB to 64MB

86 views
Skip to first unread message

Brandon Amos

unread,
Jan 7, 2016, 6:04:35 PM1/7/16
to CMU-OpenFace, Bartosz Ludwiczuk
Hi OpenFace users,

The original nn4.v1 model is 966MB because Torch
saves many unnecessary buffers with the network.
There's no official way of working around this, but I just found
https://github.com/e-lab/torch-toolbox/tree/master/Sanitize,
which reduces the size of the nn4.v1 model to 64MB!

I've updated nn4.v1 on our storage server to the smaller version:
Reply all
Reply to author
Forward
0 new messages