• DepthAI-v2
  • gen2-anomaly-detection example - blob not found

Hi!
I'm trying to run gen2-anomaly-detection example, but it looks like padim_wood_256x256 is not anymore present in the ZOO:

Exception has occurred: HTTPError
404 Client Error: 404 for url:
https://artifacts.luxonis.com/artifactory/blobconverter-backup/blobs/padim_wood_256x256_openvino_2022.1_6shave.blob
requests.exceptions.
HTTPError: 400
Client Error: BAD REQUEST for url: https://blobconverter.luxonis.com/compile?version=2022.1&no_cache=False

Can you please put it in place?
Or this example is not valid anymore?

Looking at custom data training of Anomalib it does not seems to be complete. Can you suggest some other documentation source to do the training on custom data?

My goal is to develop an application that detects anomalies and defects in customers' products as they move along the belt conveyor.

Would you suggest other examples or approaches?

    3 months later

    Hi, I am getting the same error - I was wondering whether you had any progress on this please? The example on Github is using an old commit of Anomalib and it seems it has changed a bit since. I am able to train my own padim model and get the checkpoint. I've tried using the Luxonis code, directly exporting to ONNX/OPENVINO via Anomalib, but every time when I try the blobconverter, I get stuck.

    Any advice appreciated. Thanks!

    Hi @jmm @austy246, seems like new openvino version doesn't work with the model. Setting the openvino to older one fixes the issue:

    nn.setBlobPath(blobconverter.from_zoo(name="padim_wood_256x256", zoo_type="depthai", shaves=6, version='2021.4'))

    I'll also update the code on the repo.
    Thanks, Erik

    Thanks Erik for your prompt reply. It looks like the SSL certificate for blobconverter is invalid/expired at the moment.

    Is there any other way to do a local conversion please? The blobconverter seems to call the Luxonis blobconverter api which currently seems down. This would be an ideal longer term solution as well. I see the local compilation in the docs, but I can't find the compile tool in Openvino==2022.3 in the install path. Rolling back to 2022.1/2021.4 introduced dependency issues which I am going through.

    The blobconverter docker doesn't seem to build and fails during the patching process. I am currently extracting the code from the blobconverter api but doesn't feel ideal…

    Hi @jmm,

    indeed the issue was caused by the expired SSL certificate. I renewed it and tested that the gen2-anomaly-detection example together with the fix from @erik works.

    I am sorry for your troubles.

    Kind regards,
    Jan

    7 days later