save from python for net surgery
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Mon, 26 May 2014 06:49:51 +0000 (23:49 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 12 Jun 2014 21:27:36 +0000 (14:27 -0700)
commit6a5b2c19c75dd9f6965ca9a377164bf8b6c96688
treeeb478a9861cbd09618aad318f8f411b382b72b2e
parent63c7429d9a1f8a5688889fc6c65046c0683e6e3d
save from python for net surgery

0. Scheme desired parameters.
1. Do surgery on the net through `net.params['name'][idx].data[...] = `.
2. Save post-operation net params by `net.save('fname')`.

Handwoven deep nets, anyone?
python/caffe/_caffe.cpp