How to load files from Google Drive when running the !hailo visualizer command

!hailo visualizer /content/drive/My Drive/models/{onnx_model_name}_hailo_model.har

[info] Current Time: 05:26:32, 11/17/24
[info] CPU: Architecture: x86_64, Model: Intel(R) Xeon(R) CPU @ 2.20GHz, Number Of Cores: 2, Utilization: 3.5%
[info] Memory: Total: 12GB, Available: 10GB
[info] System info: OS: Linux, Kernel: 6.1.85+
[info] Hailo DFC Version: 3.28.0
[info] HailoRT Version: Not Installed
[info] PCIe: No Hailo PCIe device was found
[info] Running hailo visualizer /content/drive/My Drive/models/yolov11n_hailo_model.har
usage: hailo [-h] [–version]
{analyze-noise,compiler,params-csv,parser,profiler,optimize,tb,visualizer,tutorial,har,join,har-onnx-rt,runtime-profiler,dfc-studio,help}

hailo: error: unrecognized arguments: Drive/models/yolov11n_hailo_model.har

When I run the !hailo visualizer command, it seems like I can’t get the files from Google Drive. What should I do?

It looks like there is a space character in your path. Therefore the command parser sees the second part of the path to your har file as a separate argument.

Use path without spaces or use double quotes around them. This should solve this issue.