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

[Core] Change ssh driver.py commands to fit new argument style

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