finn icon indicating copy to clipboard operation
finn copied to clipboard

usage error

Open simplelins opened this issue 4 years ago • 3 comments

File "/finn/src/finn/transformation/fpgadataflow/insert_fifo.py", line 89, in apply fld_shape_2 = n1.get_folded_input_shape(ind=idx) TypeError: get_folded_input_shape() got an unexpected keyword argument 'ind'

https://github.com/Xilinx/finn/blob/af783db8dc2a1d2e95bd569d39464b935520b6d2/src/finn/transformation/fpgadataflow/insert_fifo.py#L89

simplelins avatar Mar 05 '21 10:03 simplelins

This is likely related to some residual connection (join node) in your graph. I assume you are experimenting with the work-in-progress Resnet-50 example?

fpjentzsch avatar Mar 10 '21 11:03 fpjentzsch

Yeah, you are right. I am working with resnet50. I had checked the source code, and I can not find any function that named 'get_folded_input_shape' with a parameter.
and for resnet50, are there any news I can learn?

simplelins avatar Mar 10 '21 13:03 simplelins

The ResNet-50 streamlining etc. will require a number of updates and custom transformations so please wait for the official release. We're hoping to get everything wrapped up over the next month.

maltanar avatar Mar 11 '21 11:03 maltanar

I am closing this issue because it does not apply to the current release. Please use version v0.9.

auphelia avatar Feb 14 '23 13:02 auphelia