TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType tfc_end2end_example #442
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello, I think the problem may be that on FINN dev there is no PYNQ driver generated by default during the 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 = ModelWrapper(build_dir + "/tfc_w1_a1_pynq-driver.onnx")
model = model.transform(DeployToPYNQ(ip, port, username, password, target_dir))
model.save(build_dir + "/tfc_w1_a1_pynq_deploy.onnx") Hope it helps. |
Beta Was this translation helpful? Give feedback.
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.and then execute