From 6cd01abdf24c2df46e11f0b9953c8a23d7b59635 Mon Sep 17 00:00:00 2001 From: auphelia <jakobapk@web.de> Date: Thu, 23 Apr 2020 15:51:25 +0100 Subject: [PATCH] [Test] Change test to pass port number to make deployment transformation --- tests/end2end/test_end2end_tfc_w1a1_throughput_test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/end2end/test_end2end_tfc_w1a1_throughput_test.py b/tests/end2end/test_end2end_tfc_w1a1_throughput_test.py index 946e84f2a..c0c6a99d8 100644 --- a/tests/end2end/test_end2end_tfc_w1a1_throughput_test.py +++ b/tests/end2end/test_end2end_tfc_w1a1_throughput_test.py @@ -279,9 +279,10 @@ def test_end2end_tfc_w1a1_deploy_on_pynq(): if ip == "": pytest.skip("PYNQ board IP address not specified") username = os.getenv("PYNQ_USERNAME", "xilinx") - password = os.getenv("PYNQ_PASSWORD", "xilinx") + password = os.getenv("PYNQ_PASSWORD", "x1l1nx_f1nn") + port = os.getenv("PYNQ_PORT", 22) target_dir = os.getenv("PYNQ_TARGET_DIR", "/home/xilinx/finn") - model = model.transform(DeployToPYNQ(ip, username, password, target_dir)) + model = model.transform(DeployToPYNQ(ip, port, username, password, target_dir)) # save the model to be able to link it to the parent model.save(build_dir + "/end2end_tfc_w1a1_pynq_deploy.onnx") except KeyError: -- GitLab