-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MobileNet Example(Maxpool Version) doesn't work #78
Comments
Hi, this error usually indicates that your graph contains incompatible nodes that FINN could not convert to HLS backend nodes. If any such node remains in the graph, dataflow partitioning fails. Can you share an image of your onnx graph after the "convert_to_hls" step(s)? |
I see 3 problems:
|
I add AbsorbConsecutiveTransposes and RemoveCNVtoFCFlatten, then it works!! Thank you so much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I have successfully completed the following workflow:
test_brevitas_mobilenet
function at finn/tests/brevitas/test_brevitas_mobilenet.py.In this process, I wanted to make slight modifications to the Brevitas model at Brevitas Example by replacing TruncAvgPool2d with QuantMaxPool2d.
Then, I attempted to extract the modified model in ONNX format and synthesize it to HW following the example at finn-examples/build/mobilenet-v1.
However, during the partitioning process (I'm not exactly sure what this operation entails), I encountered an
AssertionError: cycle-free graph violated: partition depends on itself
error(self.partitioning(node) != partition_id
is False, so asserted).I'm wondering meaning of the error and how I can successfully synthesize the modified model to HW. Please help!
Let me show you some details.
Modified Brevitas Model(only the modified parts are provided compared to Brevitas Example):
Modified
test_brevitas_mobilenet
function at finn/tests/brevitas/test_brevitas_mobilenet.pyThe error message:
The text was updated successfully, but these errors were encountered: