Instructions to use Jeremy341/MIRA-AI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Jeremy341/MIRA-AI with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://Jeremy341/MIRA-AI") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- models/classifier/mira_classifier_baseline.keras +3 -0
- models/classifier/mira_classifier_fp32.tflite +3 -0
- models/classifier/mira_classifier_int8.tflite +3 -0
- models/classifier/mira_classifier_transfer.keras +3 -0
- models/classifier/mira_classifier_tuned.keras +3 -0
- models/detection/example_third_party.yaml +20 -0
- models/detection/gianlucasposito_yolov8n.pt +3 -0
- models/detection/gianlucasposito_yolov8n.yaml +13 -0
- models/detection/mira_exp006.pt +3 -0
- models/detection/mira_exp006_int8.tflite +3 -0
- models/detection/mira_exp009_int8.tflite +3 -0
- models/detection/mira_exp011.pt +3 -0
- models/detection/mira_exp011_int8.tflite +3 -0
- models/detection/mira_exp013.pt +3 -0
- models/detection/mira_exp013_int8.tflite +3 -0
- models/detection/mira_exp014.pt +3 -0
- models/detection/mira_exp014.yaml +14 -0
- models/detection/mira_exp014_int8.tflite +3 -0
- models/detection/mira_exp015.pt +3 -0
- models/detection/mira_exp015_int8.tflite +3 -0
- models/detection/mira_exp016.pt +3 -0
- models/detection/mira_exp016_int8.tflite +3 -0
- models/detection/mira_exp017.onnx +3 -0
- models/detection/mira_exp017.pt +3 -0
- models/detection/mira_exp017.yaml +19 -0
- models/detection/mira_exp017_int8.tflite +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
models/classifier/mira_classifier_baseline.keras filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
models/classifier/mira_classifier_transfer.keras filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
models/classifier/mira_classifier_tuned.keras filter=lfs diff=lfs merge=lfs -text
|
models/classifier/mira_classifier_baseline.keras
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e446bb97756cc5527eeb42c163e5a06ac29bf32b166d017ad56f8bb6b6d6c921
|
| 3 |
+
size 47930417
|
models/classifier/mira_classifier_fp32.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acdaeb440be03879e0fb174b62cd36450500c873a1312243aa2d6e0cc9a1a10e
|
| 3 |
+
size 8906196
|
models/classifier/mira_classifier_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da9598dc96fa5feade034c397299806beb1bd011616af6f10c7cd3f7311feb37
|
| 3 |
+
size 2736160
|
models/classifier/mira_classifier_transfer.keras
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef69a1d51b01a5e12eb92b36a45c777285d025c109beadbf71297dc5caf7305e
|
| 3 |
+
size 9697590
|
models/classifier/mira_classifier_tuned.keras
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:064af1b34489e7259a177564590bde0f25a9a29f069256188269936d1a1e613b
|
| 3 |
+
size 24622199
|
models/detection/example_third_party.yaml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Third-party model descriptor for MIRA benchmarking.
|
| 2 |
+
#
|
| 3 |
+
# To benchmark a third-party model:
|
| 4 |
+
# 1. Place the model file in models/detection/
|
| 5 |
+
# 2. Create a YAML descriptor like this one
|
| 6 |
+
# 3. Run: mira benchmark --models <model_name> --dataset datasets/mira_all
|
| 7 |
+
#
|
| 8 |
+
# Supported types: yolo_pt, yolo_tflite, tflite, onnx, keras
|
| 9 |
+
#
|
| 10 |
+
# Ultralytics-compatible models (.pt, .tflite) work out of the box —
|
| 11 |
+
# the adapter will load them via `ultralytics.YOLO()` automatically.
|
| 12 |
+
# Non-ultralytics models (e.g. raw keras/tf SavedModel) need a custom
|
| 13 |
+
# adapter subclass that overrides load() and predict() in models.py.
|
| 14 |
+
|
| 15 |
+
name: "Example Third-Party Model"
|
| 16 |
+
type: tflite
|
| 17 |
+
model_file: example_third_party.tflite
|
| 18 |
+
imgsz: 320
|
| 19 |
+
class_names: [glass, metal, paper, plastic, trash]
|
| 20 |
+
preprocessing: null
|
models/detection/gianlucasposito_yolov8n.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c830e2fc59446c907dccf3dda1f33dc9e20e191e181e54eb7df8c874b629772d
|
| 3 |
+
size 6246051
|
models/detection/gianlucasposito_yolov8n.yaml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: gianlucasposito_yolov8n
|
| 2 |
+
display_name: \"gianlucasposito YOLOv8n (5-class waste)\"
|
| 3 |
+
model_type: third_party
|
| 4 |
+
task: detect
|
| 5 |
+
input_size: 640
|
| 6 |
+
class_names: [\"glass\", \"metal\", \"paper\", \"plastic\", \"trash\"]
|
| 7 |
+
model_file: gianlucasposito_yolov8n.pt
|
| 8 |
+
training:
|
| 9 |
+
dataset: \"TACO subset\"
|
| 10 |
+
framework: \"YOLOv8n\"
|
| 11 |
+
tags: [\"third-party\", \"yolov8n\", \"taco\", \"baseline\"]
|
| 12 |
+
recommended_for: \"benchmarking\"
|
| 13 |
+
source_url: \"https://github.com/gianlucasposito/YOLO-Waste-Detection\"
|
models/detection/mira_exp006.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fc3a6503671e4b588d1112251d297b07ebd68d82612ad6ce314eb7cc5b0a9e8
|
| 3 |
+
size 6228330
|
models/detection/mira_exp006_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ff945a4eaac2638b89275966207cf18af6956f7dd4144f36bc07e9eb0d757ea
|
| 3 |
+
size 3311015
|
models/detection/mira_exp009_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c43c2ebce183479306637bfab389307b099264e53fdce4f3f92a006cbbb9e787
|
| 3 |
+
size 3329889
|
models/detection/mira_exp011.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:814cdd1fd610f9726b2e5535fe7314d7bf8ebea1403ab174bc90e67c6abb52d3
|
| 3 |
+
size 6228330
|
models/detection/mira_exp011_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d64d83df5fc640d506eaec5f502e5559c7d9e286ff46c842e5bdc3546bfc7fa9
|
| 3 |
+
size 3311014
|
models/detection/mira_exp013.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7041149a50aa524773bed7239813650035fff37bc02e42ea2e154903c956ce3f
|
| 3 |
+
size 5458650
|
models/detection/mira_exp013_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6972012ff1d89758ffd58d836171e11b78688b8f6980190458f8cf0a04136481
|
| 3 |
+
size 3042006
|
models/detection/mira_exp014.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7eece4fdf17f380c69f4a7ae61b0c67bf7b8ad14bbdcd40dc3d3d39c8307a83
|
| 3 |
+
size 5458650
|
models/detection/mira_exp014.yaml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: mira_exp014
|
| 2 |
+
display_name: \"EXP-014 (YOLO11n, TACO+TrashNet+Roboflow)\"
|
| 3 |
+
model_type: yolo_pt
|
| 4 |
+
task: detect
|
| 5 |
+
input_size: 640
|
| 6 |
+
class_names: [\"glass\", \"metal\", \"paper\", \"plastic\", \"trash\"]
|
| 7 |
+
training:
|
| 8 |
+
dataset: \"TACO + TrashNet + Roboflow\"
|
| 9 |
+
epochs: 120
|
| 10 |
+
metrics:
|
| 11 |
+
map50: 0.607
|
| 12 |
+
map50_95: 0.455
|
| 13 |
+
tags: [\"yolo11n\", \"multidataset\", \"best-so-far\"]
|
| 14 |
+
recommended_for: \"raspberry_pi\"
|
models/detection/mira_exp014_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e1678ce1a36d739dd86dd0573265d473f929e64a4c150c256b111fed7e8d566
|
| 3 |
+
size 3042004
|
models/detection/mira_exp015.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6cb3db182c259aac9a0a14384ac3f484e1791dfd549dfed4589dd28e98124eb
|
| 3 |
+
size 5458650
|
models/detection/mira_exp015_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:538e82be4935bfed22fabc486d4132ddc27204d475477db00445d68f127fe857
|
| 3 |
+
size 3042005
|
models/detection/mira_exp016.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f33340446e6628165ff08933c201e6e9b2fe8d8c60478667d0527b3fcdc55ae2
|
| 3 |
+
size 5458650
|
models/detection/mira_exp016_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2d4c4717afc94755c186375cee630e32db1527b9c61423a3e9cb79b379b8550
|
| 3 |
+
size 3042005
|
models/detection/mira_exp017.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfa45816bac10619dc66bedab8ae139a3f0371a6e8871388a273013f7950a6b3
|
| 3 |
+
size 10607290
|
models/detection/mira_exp017.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37bd9ddb4d2fc6931c816ae8dfcf8b546aed448b023ab1b5b3321c39badded73
|
| 3 |
+
size 5458842
|
models/detection/mira_exp017.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: mira_exp017
|
| 2 |
+
display_name: \"EXP-017 (YOLO11n, all 4 sources)\"
|
| 3 |
+
model_type: yolo_pt
|
| 4 |
+
task: detect
|
| 5 |
+
input_size: 640
|
| 6 |
+
class_names: [\"glass\", \"metal\", \"paper\", \"plastic\", \"trash\"]
|
| 7 |
+
training:
|
| 8 |
+
dataset: \"TACO + TrashNet + Roboflow + WaRP\"
|
| 9 |
+
epochs: 120
|
| 10 |
+
batch_size: 32
|
| 11 |
+
imgsz: 640
|
| 12 |
+
device: \"Tesla T4\"
|
| 13 |
+
metrics:
|
| 14 |
+
map50: 0.593
|
| 15 |
+
map50_95: 0.465
|
| 16 |
+
precision: 0.639
|
| 17 |
+
recall: 0.549
|
| 18 |
+
tags: [\"yolo11n\", \"multidataset\", \"all-4-sources\"]
|
| 19 |
+
recommended_for: \"raspberry_pi\"
|
models/detection/mira_exp017_int8.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7681fab24fe81f7c10134fdcdb357823aced2ef95323ea4a434e4cf9b67bc55d
|
| 3 |
+
size 3042006
|