Hi,
I have just installed My shiny new competition OakD and the software according to the instructions and it fired up the camera just fine, but when it comes to running programmes that use a model the models are missing and don't appear to be part of the repo. I can't see that I have missed a step so where can I download the models?

Here is an example of the error:

% python 08_rgb_mobilenet.py 
Traceback (most recent call last):
  File "/Users/xxx/projects/drumsticks/depthai-python/examples/08_rgb_mobilenet.py", line 28, in <module>
    detection_nn.setBlobPath(args.mobilenet_path)
RuntimeError: NeuralNetwork node | Blob at path: /Users/xxx/projects/drumsticks/depthai-python/examples/models/mobilenet.blob doesn't exist

Hi @EdwardHiscoke ,

Sorry about the trouble here. We were just discussing how we should make the models auto-download. We will be adding this. And actually in our older version of the API (Gen1) we had this. But in refactoring everything it ended up being removed. Long story, but we're going to add it back cleaner.

In the mean time, you can download the models for each example on the docs page for the example. So for the example you are running, this is here:
https://docs.luxonis.com/projects/api/en/latest/samples/08_rgb_mobilenet/

And the model itself (linked on that page) is here: https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/mobilenet-ssd_openvino_2021.2_6shave.blob

Thoughts?

Thanks,
Brandon

    Brandon
    Silly me for not looking into the documentation!
    A thought might be to update the installation documentation and point out that the models need downloading. Supernice if they download themselves of course, but I'm fin with the manual download.
    And thanks for your swift reply!

    //Edward

      Thanks and very welcome EdwardHiscoke ,

      And agreed. So actually @themarpe is working now to improve this.

      And thanks for buying depthai!

      -Brandon

      Hi @EdwardHiscoke .

      As Brandon mentioned, we started on work to make examples in depthai-python/examples standalone, instead of having to run them as part of CMake build procedure.

      I have added requirements.txt for standalone usage and Lukasz is working on model compiler that'll take care of model conversion and downloading.

      Hopefully it lands soon 🙂
      Martin

      2 months later

      I am getting "requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url" error when I run "install_requirements.py" .... I have tried a couple of times... I will give it an hour or two.

        Hi gmurph ,

        Sorry about the trouble. It seems like one of our services went down this weekend and our automation didn't alert us. So I think this should now be back up.

        Thoughts?

        Thanks,
        Brandon