I am running modelconverter benchmark RVC4 from WSL on Windows against a Luxonis OAK 4 over SSH. Model conversion works, but benchmark upload fails when the tool tries to copy the generated .dlc to the device.
Environment
Host: Windows
Runtime: WSL Ubuntu
Device: Luxonis OAK 4
Device access: SSH over IP
modelconverter: 0.5.4-beta
QAIRT / SNPE: 2.32.6.250402
Target: RVC4
Device IP: 169.254.16.20
Example command:
Command I run:
modelconverter benchmark RVC4 --model-path 40_exp_40_half_64704844.dlc --device-ip 169.254.16.20 --no-dai-benchmark
Observed behavior
The benchmark fails with:
subprocess.CalledProcessError: Command '['scp', '40_exp_40_half_64704844.dlc', 'root@169.254.16.20:/data/modelconverter/40_exp_40_half_64704844/model.dlc', '-r']' returned non-zero exit status 1.
I verified that the transfer works manually if I first create the remote directory:
ssh root@169.254.16.20 "mkdir -p /data/modelconverter/40_exp_40_half_64704844"
scp 40_exp_40_half_64704844.dlc root@169.254.16.20:/data/modelconverter/40_exp_40_half_64704844/model.dlc
So the failure appears to happen because modelconverter removes /data/modelconverter/40_exp_40_half_64704844 and then immediately calls scp to a path whose parent directory no longer exists.
Expected behavior
modelconverter benchmark should either:
create the remote directory before calling scp, or
upload to an existing remote path, or
avoid deleting the destination directory before transfer.
Actual behavior
The tool deletes the destination folder and then scp fails because the remote parent directory does not exist.
Likely root cause
The benchmark upload flow appears to assume the remote directory already exists. scp does not create remote parent directories, so the transfer fails with exit status 1.
What can I do?
Thanks, joej