Skip to content

TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType tfc_end2end_example #442

Answered by rpitonak
sakshigoel361 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

I think the problem may be that on FINN dev there is no PYNQ driver generated by default during the Zynq build and these notebooks were not adapted to this change (I can do a PR once the answer is accepted and it resolves this issue). Try to add this before the step you are running.

from finn.core.modelwrapper import ModelWrapper
from finn.transformation.fpgadataflow.make_pynq_driver import MakePYNQDriver

model = ModelWrapper(build_dir + "/tfc_w1_a1_post_synthesis.onnx")
model = model.transform(MakePYNQDriver(platform="zynq-iodma"))
model.save(build_dir + "/tfc_w1_a1_pynq-driver.onnx")

and then execute

from finn.transformation.fpgadataflow.make_deployment import DeployToPYNQ

model =

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sakshigoel361
Comment options

@rpitonak
Comment options

@sakshigoel361
Comment options

@superpi15
Comment options

Answer selected by sakshigoel361
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants