Release SHAYYZ MLBB Draft Classifier 87f29aa7f9e0
Browse files- README.md +55 -23
- manifest.json +174 -0
- model.onnx +3 -0
README.md
CHANGED
|
@@ -1,44 +1,76 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
-
pipeline_tag: image-classification
|
| 4 |
library_name: onnxruntime
|
|
|
|
| 5 |
tags:
|
| 6 |
-
- onnx
|
| 7 |
-
- computer-vision
|
| 8 |
- mobile-legends
|
| 9 |
-
- draft-
|
| 10 |
-
-
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# SHAYYZ MLBB Draft Classifier
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
##
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
-
|
| 38 |
-
- Macro recall at least 97%.
|
| 39 |
-
- Unknown false-accept rate at most 0.5%.
|
| 40 |
-
- Runtime replay precision at least 99.5%, recall at least 98%, and p95 latency at most one second.
|
| 41 |
|
| 42 |
-
|
|
|
|
| 43 |
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
|
|
|
| 3 |
library_name: onnxruntime
|
| 4 |
+
pipeline_tag: image-classification
|
| 5 |
tags:
|
|
|
|
|
|
|
| 6 |
- mobile-legends
|
| 7 |
+
- draft-pick
|
| 8 |
+
- obs
|
| 9 |
+
- computer-vision
|
| 10 |
+
- onnx
|
| 11 |
+
- mobilenet-v3
|
| 12 |
---
|
| 13 |
|
| 14 |
# SHAYYZ MLBB Draft Classifier
|
| 15 |
|
| 16 |
+
SHAYYZ MLBB Draft Classifier is a lightweight visual classifier for recognizing
|
| 17 |
+
hero portraits in Mobile Legends: Bang Bang draft slots. It is designed for the
|
| 18 |
+
local SHAYYZ MLBB OVERLAY OBS workflow and does not use a game API, inspect game
|
| 19 |
+
memory or traffic, or automate game input.
|
| 20 |
+
|
| 21 |
+
## Model details
|
| 22 |
+
|
| 23 |
+
- Architecture: MobileNetV3-Small
|
| 24 |
+
- Revision: `87f29aa7f9e0`
|
| 25 |
+
- Classes: 133 heroes plus `empty` and `unknown`
|
| 26 |
+
- Input: RGB `float32`, NCHW `1 x 3 x 224 x 224`
|
| 27 |
+
- Normalization: ImageNet mean `[0.485, 0.456, 0.406]` and standard deviation
|
| 28 |
+
`[0.229, 0.224, 0.225]`
|
| 29 |
+
- Output: 135 unnormalized logits in the order recorded by `manifest.json`
|
| 30 |
+
- Runtime: ONNX Runtime CPU
|
| 31 |
+
- Precision: FP32
|
| 32 |
|
| 33 |
+
The model was initialized from the official torchvision
|
| 34 |
+
`MobileNet_V3_Small_Weights.DEFAULT` checkpoint and fine-tuned locally.
|
| 35 |
|
| 36 |
+
## Evaluation
|
| 37 |
|
| 38 |
+
| Evaluation | Top-1 accuracy | Macro recall | Unknown false-accept rate |
|
| 39 |
+
| --- | ---: | ---: | ---: |
|
| 40 |
+
| Synthetic validation, 270 images | 100% | 100% | — |
|
| 41 |
+
| Synthetic test, 270 images | 100% | 100% | 0% |
|
| 42 |
|
| 43 |
+
The exported ONNX logits differed from the PyTorch checkpoint by at most
|
| 44 |
+
`0.0003394`. The production Bun/ONNX Runtime path classified all 270 synthetic
|
| 45 |
+
test images correctly at a mean of 8.4 ms per image on an Apple M3 Pro CPU.
|
| 46 |
|
| 47 |
+
These results measure a deterministic synthetic holdout derived from the same
|
| 48 |
+
private portrait source family used for training. They do not establish live
|
| 49 |
+
game accuracy or robustness to future game UI and artwork updates. Keep the
|
| 50 |
+
overlay in proposal mode until a separate live replay benchmark validates the
|
| 51 |
+
current game build and capture profile.
|
| 52 |
|
| 53 |
+
## Intended use
|
| 54 |
|
| 55 |
+
The model may propose hero selections from already-visible draft-slot crops for
|
| 56 |
+
a human-operated broadcast overlay. It is not intended for player automation,
|
| 57 |
+
gameplay decisions, identity recognition, surveillance, or unattended control
|
| 58 |
+
of MLBB or OBS.
|
| 59 |
|
| 60 |
+
## Training data
|
| 61 |
|
| 62 |
+
Training used 3,240 private 224 x 224 synthetic samples: 24 variants for each of
|
| 63 |
+
133 heroes plus balanced `empty` and `unknown` classes. Augmentations reproduce
|
| 64 |
+
face-focused framing, transparent edge fades, team tinting, ban dimming, blur,
|
| 65 |
+
and compression. The private dataset and original game artwork are not included
|
| 66 |
+
in this repository or model release.
|
| 67 |
|
| 68 |
+
## License and attribution
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
The model weights and this model card are released under CC BY 4.0. Attribute
|
| 71 |
+
them to Aung Min Khant and name **SHAYYZ MLBB Draft Classifier**.
|
| 72 |
|
| 73 |
+
Mobile Legends: Bang Bang and its hero artwork are owned by Moonton. Those game
|
| 74 |
+
assets are not distributed here and are not covered by this license. This model
|
| 75 |
+
is an independent, unofficial project and is not endorsed by or affiliated with
|
| 76 |
+
Moonton.
|
manifest.json
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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b92cd",
|
| 9 |
+
"sizeBytes": 6634541,
|
| 10 |
+
"precision": "fp32",
|
| 11 |
+
"inputName": "input",
|
| 12 |
+
"outputName": "logits"
|
| 13 |
+
},
|
| 14 |
+
"input": {
|
| 15 |
+
"width": 224,
|
| 16 |
+
"height": 224,
|
| 17 |
+
"channels": 3,
|
| 18 |
+
"layout": "nchw",
|
| 19 |
+
"colorSpace": "rgb",
|
| 20 |
+
"mean": [
|
| 21 |
+
0.485,
|
| 22 |
+
0.456,
|
| 23 |
+
0.406
|
| 24 |
+
],
|
| 25 |
+
"std": [
|
| 26 |
+
0.229,
|
| 27 |
+
0.224,
|
| 28 |
+
0.225
|
| 29 |
+
]
|
| 30 |
+
},
|
| 31 |
+
"labels": [
|
| 32 |
+
"aamon",
|
| 33 |
+
"akai",
|
| 34 |
+
"aldous",
|
| 35 |
+
"alice",
|
| 36 |
+
"alpha",
|
| 37 |
+
"alucard",
|
| 38 |
+
"angela",
|
| 39 |
+
"argus",
|
| 40 |
+
"arlott",
|
| 41 |
+
"atlas",
|
| 42 |
+
"aulus",
|
| 43 |
+
"aurora",
|
| 44 |
+
"badang",
|
| 45 |
+
"balmond",
|
| 46 |
+
"bane",
|
| 47 |
+
"barats",
|
| 48 |
+
"baxia",
|
| 49 |
+
"beatrix",
|
| 50 |
+
"belerick",
|
| 51 |
+
"benedetta",
|
| 52 |
+
"brody",
|
| 53 |
+
"bruno",
|
| 54 |
+
"carmilla",
|
| 55 |
+
"cecilion",
|
| 56 |
+
"chang-e",
|
| 57 |
+
"chip",
|
| 58 |
+
"chou",
|
| 59 |
+
"cici",
|
| 60 |
+
"claude",
|
| 61 |
+
"clint",
|
| 62 |
+
"cyclops",
|
| 63 |
+
"diggie",
|
| 64 |
+
"dyrroth",
|
| 65 |
+
"edith",
|
| 66 |
+
"esmeralda",
|
| 67 |
+
"estes",
|
| 68 |
+
"eudora",
|
| 69 |
+
"fanny",
|
| 70 |
+
"faramis",
|
| 71 |
+
"floryn",
|
| 72 |
+
"franco",
|
| 73 |
+
"fredrinn",
|
| 74 |
+
"freya",
|
| 75 |
+
"gatotkaca",
|
| 76 |
+
"gloo",
|
| 77 |
+
"gord",
|
| 78 |
+
"granger",
|
| 79 |
+
"grock",
|
| 80 |
+
"guinevere",
|
| 81 |
+
"gusion",
|
| 82 |
+
"hanabi",
|
| 83 |
+
"hanzo",
|
| 84 |
+
"harith",
|
| 85 |
+
"harley",
|
| 86 |
+
"hayabusa",
|
| 87 |
+
"helcurt",
|
| 88 |
+
"hilda",
|
| 89 |
+
"hylos",
|
| 90 |
+
"irithel",
|
| 91 |
+
"ixia",
|
| 92 |
+
"jawhead",
|
| 93 |
+
"johnson",
|
| 94 |
+
"joy",
|
| 95 |
+
"julian",
|
| 96 |
+
"kadita",
|
| 97 |
+
"kagura",
|
| 98 |
+
"kaja",
|
| 99 |
+
"kalea",
|
| 100 |
+
"karina",
|
| 101 |
+
"karrie",
|
| 102 |
+
"khaleed",
|
| 103 |
+
"khufra",
|
| 104 |
+
"kimmy",
|
| 105 |
+
"lancelot",
|
| 106 |
+
"lukas",
|
| 107 |
+
"lapu-lapu",
|
| 108 |
+
"layla",
|
| 109 |
+
"leomord",
|
| 110 |
+
"lesley",
|
| 111 |
+
"ling",
|
| 112 |
+
"lolita",
|
| 113 |
+
"lunox",
|
| 114 |
+
"luo-yi",
|
| 115 |
+
"lylia",
|
| 116 |
+
"martis",
|
| 117 |
+
"masha",
|
| 118 |
+
"mathilda",
|
| 119 |
+
"melissa",
|
| 120 |
+
"minotaur",
|
| 121 |
+
"minsitthar",
|
| 122 |
+
"miya",
|
| 123 |
+
"moskov",
|
| 124 |
+
"nana",
|
| 125 |
+
"natalia",
|
| 126 |
+
"natan",
|
| 127 |
+
"nolan",
|
| 128 |
+
"novaria",
|
| 129 |
+
"obsidia",
|
| 130 |
+
"odette",
|
| 131 |
+
"paquito",
|
| 132 |
+
"pharsa",
|
| 133 |
+
"phoveus",
|
| 134 |
+
"popol-and-kupa",
|
| 135 |
+
"rafaela",
|
| 136 |
+
"roger",
|
| 137 |
+
"ruby",
|
| 138 |
+
"saber",
|
| 139 |
+
"selena",
|
| 140 |
+
"silvanna",
|
| 141 |
+
"sun",
|
| 142 |
+
"suyou",
|
| 143 |
+
"terizla",
|
| 144 |
+
"thamuz",
|
| 145 |
+
"tigreal",
|
| 146 |
+
"uranus",
|
| 147 |
+
"vale",
|
| 148 |
+
"valentina",
|
| 149 |
+
"valir",
|
| 150 |
+
"vexana",
|
| 151 |
+
"wanwan",
|
| 152 |
+
"xavier",
|
| 153 |
+
"x-borg",
|
| 154 |
+
"yin",
|
| 155 |
+
"yi-sun-shin",
|
| 156 |
+
"yu-zhong",
|
| 157 |
+
"yve",
|
| 158 |
+
"zhask",
|
| 159 |
+
"zhuxin",
|
| 160 |
+
"zilong",
|
| 161 |
+
"zetian",
|
| 162 |
+
"sora",
|
| 163 |
+
"marcel",
|
| 164 |
+
"hirara",
|
| 165 |
+
"empty",
|
| 166 |
+
"unknown"
|
| 167 |
+
],
|
| 168 |
+
"validation": {
|
| 169 |
+
"validatedAt": "2026-08-22T16:11:16.526Z",
|
| 170 |
+
"top1Accuracy": 1,
|
| 171 |
+
"macroRecall": 1,
|
| 172 |
+
"unknownFalseAcceptRate": 0
|
| 173 |
+
}
|
| 174 |
+
}
|
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87f29aa7f9e074ec6817a6041400ab8817271661f5f86d7b278c8c3e6e8b92cd
|
| 3 |
+
size 6634541
|