Reproduce AddaxAI classifier in Python?

Hi @ismaelvbrack ,

It is very hard to tell you what is going on without knowing your code, but
I can help you to understand what happens in AddaxAI under the hood. See below some information that might help debugging.

AddaxAI uses this information regarding the Southwest USA v3 - San Diego Zoo Wildlife Alliance model, including the URLs to the exact models used: AddaxAI/model_info/model_info_v5.json at main · PetervanLunteren/AddaxAI · GitHub

This is the inference script: AddaxAI/classification_utils/model_types/sdzwa-pt/classify_detections.py at main · PetervanLunteren/AddaxAI · GitHub

As you can see, the image size in AddaxAI is also 299*299: AddaxAI/classification_utils/model_types/sdzwa-pt/classify_detections.py at main · PetervanLunteren/AddaxAI · GitHub

In order to reproduce, pay special attention to:

The model and those functions are then send to the main inference script: AddaxAI/classification_utils/inference_lib.py at main · PetervanLunteren/AddaxAI · GitHub

Here the actual processing is done, and the results depend on your AddaxAI settings (confidence thresholds (see: Understanding confidence thresholds in AddaxAI), disabled species (see: AddaxAI/classification_utils/inference_lib.py at main · PetervanLunteren/AddaxAI · GitHub), whether or not you enabled taxonomic aggregation (see: AddaxAI/classification_utils/inference_lib.py at main · PetervanLunteren/AddaxAI · GitHub), etc).

Hope this helps! Let me know if you need more information.

Cheers,

Peter