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

[Core] Change ssh command in remote_exec to setting all input arguments for driver.py

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