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
Hello there, I have a problem trying to run the end2end_conv toolflow for a custom net.
Using the end2end_conv_w1a1_example as a template, I got to chapter 3 "Partitioning, Conversion to HLS Layers and Folding" when I encountered the following error on line:
model = model.transform(to_hls.InferThresholdingLayer())
AssertionError: MultiThreshold out_scale must be equal to 1.0 for HLS conversion.
Checking the out_scales of MultiThreshold-Nodes, they remain 2.0 right up until the offending line.
Checking the end2end_conv_example, the following line reduces the out_scale from 2.0 to 1.0 for MultiThreshold nodes:
model = model.transform(ConvertBipolarMatMulToXnorPopcount())
This does not happen with my network however. Here are the things I noticed:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello there, I have a problem trying to run the end2end_conv toolflow for a custom net.
Using the end2end_conv_w1a1_example as a template, I got to chapter 3 "Partitioning, Conversion to HLS Layers and Folding" when I encountered the following error on line:
model = model.transform(to_hls.InferThresholdingLayer())
AssertionError: MultiThreshold out_scale must be equal to 1.0 for HLS conversion.
Checking the out_scales of MultiThreshold-Nodes, they remain 2.0 right up until the offending line.
Checking the end2end_conv_example, the following line reduces the out_scale from 2.0 to 1.0 for MultiThreshold nodes:
model = model.transform(ConvertBipolarMatMulToXnorPopcount())
This does not happen with my network however. Here are the things I noticed:
Before: https://imgur.com/a/zd5d3Uh
After: https://imgur.com/a/jTYYG4L
Any insights into the issue would be greatly appreciated. If any additional information is required, I will try to provide it ASAP
Beta Was this translation helpful? Give feedback.
All reactions