cornell-zhang / bnn-fpga

Binarized Convolutional Neural Networks on Software-Programmable FPGAs
BSD 3-Clause "New" or "Revised" License
301 stars 112 forks source link

how to get "cifar10_parameters_nb.zip" from my own training parameters? #12

Closed manymuch closed 6 years ago

manymuch commented 6 years ago

The ParamsIO.cpp and ZipIO.cpp load .zip file as parameters. If I want to use my own training parameters, for example, generated by numpy.savez(_compressed) as .npz, how do I get .zip from .npz?

rzhao01 commented 6 years ago

There is a script in https://github.com/cornell-zhang/bnn-fpga/tree/master/python which converts .npz to .zip