Hi,

My oak-d arrived and I'm having issues getting the demo to run, not a great start!

I'm trying to run on windows-10, I think everything is installed as required.

I've followed the instructions here https://docs.luxonis.com/en/latest/pages/tutorials/windows_install/

I've also tried the instructions here https://docs.luxonis.com/en/latest/pages/api/

Running depthai_demo.py via the Spyder IDE results in :

_No calibration file. Using Calibration Defaults.
Using depthai module from:  C:\Users\\AppData\Roaming\Python\Python38\site-packages\depthai.cp38-win_amd64.pyd
Depthai version installed:  0.4.0.0
Depthai version required:   0.4.0.0
Compiling model for 14 shaves, 14 cmx_slices and 1 NN_engines 
model_compilation_target: cloud
Traceback (most recent call last):

  File "C:\Users\\Documents\GitHub\depthai\depthai_demo.py", line 404, in <module>
    dai.startLoop()

  File "C:\Users\\Documents\GitHub\depthai\depthai_demo.py", line 45, in startLoop
    configMan = DepthConfigManager(args)

  File "C:\Users\\Documents\GitHub\depthai\depthai_helpers\config_manager.py", line 26, in __init__
    self.generateJsonConfig()

  File "C:\Users\\Documents\GitHub\depthai\depthai_helpers\config_manager.py", line 192, in generateJsonConfig
    blobMan = BlobManager(self.args, self.calc_dist_to_bb, shave_nr, cmx_slices, NCE_nr)

  File "C:\Users\\Documents\GitHub\depthai\depthai_helpers\config_manager.py", line 377, in __init__
    self.blob_file = self.compileBlob(self.args['cnn_model'], self.args['model_compilation_target'])

  File "C:\Users\\Documents\GitHub\depthai\depthai_helpers\config_manager.py", line 431, in compileBlob
    ret = download_and_compile_NN_model(nn_model, model_zoo_folder, shave_nr_opt, cmx_slices_opt, NCE_nr, outblob_file, model_compilation_target)

  File "C:\Users\\Documents\GitHub\depthai\model_compiler\model_compiler.py", line 138, in download_and_compile_NN_model
    download_location = download_model(model, model_zoo_folder)

  File "C:\Users\\Documents\GitHub\depthai\model_compiler\model_compiler.py", line 30, in download_model
    raise RuntimeError("Model downloader failed!")

RuntimeError: Model downloader failed!_

Any help would be appreciated!

Thanks

Chris
This seems to be similar to the problem I encountered. When I hit the problem I also end up at : -
raise RuntimeError("Model downloader failed!")
In my case I get a more comprehensive error dump which give more clues at the what aspect of the download failed.

Were you using depthai_demo with no arguments? This will attempt to download the default model "mobilenet-ssd. In my case this was one of the few models that worked.

Hi Julia,

Thanks for the response. Yes, running depthai_demo without any arguments. I'm a complete newbie at all this, and am definitely lost.

I had a read through your previous post, I didn't completely follow what the resolution was, or if it was applicable to running this in windows.

I can connect to http://69.164.214.171:8083/ via a browser without issues.

Not sure what to do once I get there, I couldn't see how to access files from the zoo (which I what I think I need to do) via the browser.

I was able to run the example API code to request mobilenet-ssd, but I'm not really sure what I'm meant to do next. I was expeciting to get a .bin and .xml file somehow?

I saw a suggestion that files are available from a google drive, is that an option?

Thanks, and apologies for what are probably dumb questions.

Chris

Hi chrisH,

Sorry about the trouble here. Asking the team for help. We'll make this clearer/easier!

Best,
Brandon

Eureka! Managed to get it working.

The only difference was I moved files from C:\Users\Chris H\Documents\GitHub\depthai to D:\depthai .

Could this just be as simple as my path was too long, or that my user name includes a space? As always, apologies if this is a newbie mistake.

Thanks

Chris

    GergelySzabolcs Hi, could be. I'd thought i'd updated the repo more recently than that, but perhaps not. It certainly sounds like the same issue.

    Thanks

    Chris