You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I would to generate an hardware design through FINN, passing it a prototxt of any BNN.
I don't understand if the folder https://github.com/zhaoweicai/hwgq/tree/master/examples/imagenet already contains prototxts suitable for FINN (as well as caffemodels in https://github.com/zhaoweicai/hwgq#models).
As the guide of FINN says, I have tried to run: python FINN/bin/finn --device=pynqz1 --prototxt=FINN/inputs/deploy_bw.prototxt --mode=estimate
in which deploy_bw.prototxt is the prototxt contained in https://github.com/zhaoweicai/hwgq/tree/master/examples/imagenet/alex-hwgq-3ne-clip-poly-320k
but i get the exception: .... File "/home/user/FINN/FINN/backend/fpga/backend_fpga.py", line 64, in passConvertToFPGALayers ret += [layers_fpga.FPGABipolarConvThresholdLayer(L)] File "/home/user/FINN/FINN/backend/fpga/layers_fpga.py", line 337, in __init__ raise Exception("Only binarized weights supported") Exception: Only binarized weights supported
Can you clarify me this doubt?
Thanks,
Sara
The text was updated successfully, but these errors were encountered:
Hi,
I would to generate an hardware design through FINN, passing it a prototxt of any BNN.
I don't understand if the folder https://github.com/zhaoweicai/hwgq/tree/master/examples/imagenet already contains prototxts suitable for FINN (as well as caffemodels in https://github.com/zhaoweicai/hwgq#models).
As the guide of FINN says, I have tried to run:
python FINN/bin/finn --device=pynqz1 --prototxt=FINN/inputs/deploy_bw.prototxt --mode=estimate
in which
deploy_bw.prototxt
is the prototxt contained in https://github.com/zhaoweicai/hwgq/tree/master/examples/imagenet/alex-hwgq-3ne-clip-poly-320kbut i get the exception:
....
File "/home/user/FINN/FINN/backend/fpga/backend_fpga.py", line 64, in passConvertToFPGALayers ret += [layers_fpga.FPGABipolarConvThresholdLayer(L)] File "/home/user/FINN/FINN/backend/fpga/layers_fpga.py", line 337, in __init__ raise Exception("Only binarized weights supported") Exception: Only binarized weights supported
Can you clarify me this doubt?
Thanks,
Sara
The text was updated successfully, but these errors were encountered: