Skip to content
Snippets Groups Projects
Commit c334057d authored by auphelia's avatar auphelia
Browse files

[Core] Change driver.py execution commands to fit new structure

parent 08ff9d0f
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,8 @@ def remote_exec(model, execution_context):
process_compile.communicate()
cmd = (
"sshpass -p {} ssh {}@{} -p {} "
'"cd {}/{}; echo "{}" | sudo -S python3.6 driver.py remote_pynq"'
'"cd {}/{}; echo "{}" | '
'sudo -S python3.6 driver.py remote_pynq 1 resizer.bit input.npy output.npy"'
).format(
pynq_password,
pynq_username,
......
......@@ -46,7 +46,9 @@ def throughput_test(model):
cmd = (
"sshpass -p {} ssh {}@{} -p {} "
'"cd {}/{}; echo "{}" | sudo -S python3.6 driver.py throughput_test"'
'"cd {}/{}; echo "{}" | '
"sudo -S python3.6 driver.py throughput_test 1000 "
'resizer.bit input.npy output.npy"'
).format(
pynq_password,
pynq_username,
......
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