FaiyazAzam/hw1-image-ds-groot-224
Viewer • Updated • 330 • 3
This model was trained using AutoGluon Multimodal. The best-performing architecture was ResNet18 (timm_image).
The following model is an AutoGluon Multimodal Image Classifier created using Hyperparameter Optimization. This model utilizes a groot image set with a binary classifier "has_groot" or "doesn't have groot", ultimately working to classify which images have a groot figuring within it, and which do not.
Utilized ASHA early-stopping scheduler, and an HPO timeout of 900 seconds.
Test set metrics: -'accuracy': 0.9 -'f1': 0.899
Confusion Matrix
Per Class Metrics
| Class | Precision | Recall | f1-score |
|---|---|---|---|
| 0 | 0.833 | 1.0 | 0.909 |
| 1 | 1.0 | 0.8 | 0.899 |
Dataset utilized found here: https://huggingface.co/datasets/FaiyazAzam/hw1-image-ds-groot-224
from autogluon.multimodal import MultiModalPredictor
predictor = MultiModalPredictor.load('groot_autogluon_predictor_w_hpo')
pred = predictor.predict("example.jpg")