There may be another issue. Completed the exercise with my custom dataset using the SuperAnnotate Colab file above. Having copied the generated files into the resources/nn directory I run
python3 depthai_demo.py -cnn DS-v1 -cnn-size 416x416
It then throws the following error..
Using depthai module from: /home/graeme/.local/lib/python3.8/site-packages/depthai.cpython-38-x86_64-linux-gnu.so
Depthai version installed: 2.3.0.0
Downloading /home/graeme/.cache/blobconverter/DS-v1_openvino_2021.3_13shave.blob...
{
"exit_code": 1,
"message": "Command failed with exit code 1, command: /usr/bin/python3 model_compiler/openvino_2021.3/downloader.py --output_dir /tmp/blobconverter/92cd4f8d660f4773930175f3ccfe877f --cache_dir /tmp/modeldownloader/2021_3 --num_attempts 5 --name DS-v1 --model_root /tmp/blobconverter/92cd4f8d660f4773930175f3ccfe877f",
"stderr": "In config \"/tmp/blobconverter/92cd4f8d660f4773930175f3ccfe877f/DS-v1/model.yml\":\n In model \"DS-v1\":\n No XML file for precision \"FP16\"\n",
"stdout": ""
}
Traceback (most recent call last):
File "depthai_demo.py", line 315, in <module>
nn_manager = NNetManager(
File "depthai_demo.py", line 83, in init
self.blob_path = BlobManager(model_dir=self.model_dir, model_name=self.model_name).compile(conf.args.shaves)
File "/home/graeme/depthai/depthai_helpers/config_manager.py", line 235, in compile
return blobconverter.compile_blob(
File "/home/graeme/.local/lib/python3.8/site-packages/blobconverter/init.py", line 252, in compile_blob
response.raise_for_status()
File "/home/graeme/anaconda3/envs/DepthAI/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: BAD REQUEST for url: http://luxonis.com:8080/compile?version=2021.3
I can access http://luxonis.com:8080 ... The version mentioned in the Colab file is 'version': '2020.1' ...
where as this wants to download version 2021.3 .... is it another error in the SuperAnnotate Colab file???