Skip to content
Snippets Groups Projects
Commit 4fd6af63 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

Merge branch 'dev' into feature/cleanup_end2end_and_build

parents bfefd39c 357f1572
No related branches found
No related tags found
No related merge requests found
...@@ -574,7 +574,7 @@ ...@@ -574,7 +574,7 @@
"target_dir = os.getenv(\"PYNQ_TARGET_DIR\", \"/home/xilinx/finn\")\n", "target_dir = os.getenv(\"PYNQ_TARGET_DIR\", \"/home/xilinx/finn\")\n",
"\n", "\n",
"model = ModelWrapper(build_dir + \"/end2end_cnv_w1a1_synth.onnx\")\n", "model = ModelWrapper(build_dir + \"/end2end_cnv_w1a1_synth.onnx\")\n",
"model = model.transform(MakePYNQDriver(platform="zynq"))\n", "model = model.transform(MakePYNQDriver(platform=\"zynq\"))\n",
"model = model.transform(DeployToPYNQ(ip, port, username, password, target_dir))\n", "model = model.transform(DeployToPYNQ(ip, port, username, password, target_dir))\n",
"model.save(build_dir + \"/end2end_cnv_w1a1_pynq_deploy.onnx\")" "model.save(build_dir + \"/end2end_cnv_w1a1_pynq_deploy.onnx\")"
] ]
......
...@@ -1422,7 +1422,7 @@ ...@@ -1422,7 +1422,7 @@
"source": [ "source": [
"from finn.transformation.fpgadataflow.make_pynq_driver import MakePYNQDriver\n", "from finn.transformation.fpgadataflow.make_pynq_driver import MakePYNQDriver\n",
"model = ModelWrapper(build_dir + \"/tfc_w1_a1_post_synthesis.onnx\")\n", "model = ModelWrapper(build_dir + \"/tfc_w1_a1_post_synthesis.onnx\")\n",
"model = model.transform(MakePYNQDriver(platform="zynq"))" "model = model.transform(MakePYNQDriver(platform=\"zynq\"))"
] ]
}, },
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment