Upload 8 files
Browse files- README.md +18 -0
- cxr/cxr_v1.tflite +3 -0
- cxr/labels.json +12 -0
- models.json +538 -104
- mri/labels.json +16 -0
- mri/mri_v1.tflite +3 -0
- skin/labels.json +22 -0
- skin/skin_v1.tflite +3 -0
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags: [tflite, medical-imaging, research-only, not-for-clinical-use]
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# MediMind AI test models
|
| 7 |
+
|
| 8 |
+
**Trained on public data, not clinically validated. Experimental. Not a medical diagnosis.**
|
| 9 |
+
|
| 10 |
+
TFLite image classifiers for a personal Android prototype. Signature `serving_default`: input `image` float32 [1,H,W,3] RGB 0..255; outputs `logits` [1,C] and `cam` [1,h,w] (0..1).
|
| 11 |
+
|
| 12 |
+
| id | file | dataset | license note |
|
| 13 |
+
|---|---|---|---|
|
| 14 |
+
| skin | `skin/skin_v1.tflite` | [HAM10000 (Kaggle mirror kmader/skin-cancer-mnist-ham10000)](https://www.kaggle.com/datasets/kmader/skin-cancer-mnist-ham10000) | CC BY-NC 4.0 (verify on the dataset page) |
|
| 15 |
+
| cxr | `cxr/cxr_v1.tflite` | [Chest X-Ray Images (Pneumonia), Kermany et al. 2018 (Kaggle mirror paultimothymooney/chest-xray-pneumonia)](https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia) | CC BY 4.0 (verify on the dataset page) |
|
| 16 |
+
| mri | `mri/mri_v1.tflite` | [Brain Tumor MRI Dataset (Kaggle masoudnickparvar/brain-tumor-mri-dataset)](https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset) | see dataset page (listed as CC0-1.0; verify) |
|
| 17 |
+
|
| 18 |
+
See `models.json` for sha256, preprocessing, labels and test metrics.
|
cxr/cxr_v1.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66f05f9db3ddb3543335f7529f7c79fa08abe4b89c52cb87753ecd6771cfc3b2
|
| 3 |
+
size 14092744
|
cxr/labels.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task": "cxr",
|
| 3 |
+
"version": 1,
|
| 4 |
+
"labels": [
|
| 5 |
+
"normal",
|
| 6 |
+
"pneumonia"
|
| 7 |
+
],
|
| 8 |
+
"display_names": [
|
| 9 |
+
"Normal",
|
| 10 |
+
"Pneumonia"
|
| 11 |
+
]
|
| 12 |
+
}
|
models.json
CHANGED
|
@@ -1,105 +1,539 @@
|
|
| 1 |
-
{
|
| 2 |
-
"schema_version": 1,
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"models": [
|
| 9 |
-
{
|
| 10 |
-
"id": "
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 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 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
|
| 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"generated_by": "notebooks/MediMind_Model_Builder.ipynb",
|
| 4 |
+
"generated_at": "2026-11-25T05:17:51Z",
|
| 5 |
+
"repo_id": "mitsooko/med-models",
|
| 6 |
+
"base_url": "https://huggingface.co/mitsooko/med-models/resolve/main/",
|
| 7 |
+
"manifest_url": "https://huggingface.co/mitsooko/med-models/resolve/main/models.json",
|
| 8 |
+
"models": [
|
| 9 |
+
{
|
| 10 |
+
"id": "skin",
|
| 11 |
+
"group": "scan",
|
| 12 |
+
"required": false,
|
| 13 |
+
"format": "tflite",
|
| 14 |
+
"description": "Experimental skin lesion classifier with heatmap.",
|
| 15 |
+
"task": "skin",
|
| 16 |
+
"display_name": "Skin lesion analysis",
|
| 17 |
+
"version": 1,
|
| 18 |
+
"architecture": "efficientnetb0",
|
| 19 |
+
"quantization": "float16",
|
| 20 |
+
"filename": "skin_v1.tflite",
|
| 21 |
+
"path": "skin/skin_v1.tflite",
|
| 22 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/skin/skin_v1.tflite",
|
| 23 |
+
"labels_path": "skin/labels.json",
|
| 24 |
+
"labels_url": "https://huggingface.co/mitsooko/med-models/resolve/main/skin/labels.json",
|
| 25 |
+
"size_bytes": 8146888,
|
| 26 |
+
"sha256": "07f01645e79933741775336fc3b15f8bf3de59a3a39b96ea3cf0dc7079c5199b",
|
| 27 |
+
"input_name": "image",
|
| 28 |
+
"input_shape": [
|
| 29 |
+
1,
|
| 30 |
+
224,
|
| 31 |
+
224,
|
| 32 |
+
3
|
| 33 |
+
],
|
| 34 |
+
"input_size": [
|
| 35 |
+
224,
|
| 36 |
+
224
|
| 37 |
+
],
|
| 38 |
+
"input_layout": "NHWC",
|
| 39 |
+
"input_dtype": "float32",
|
| 40 |
+
"color_order": "RGB",
|
| 41 |
+
"input_range": [
|
| 42 |
+
0.0,
|
| 43 |
+
255.0
|
| 44 |
+
],
|
| 45 |
+
"norm_mean": [
|
| 46 |
+
0.0,
|
| 47 |
+
0.0,
|
| 48 |
+
0.0
|
| 49 |
+
],
|
| 50 |
+
"norm_std": [
|
| 51 |
+
1.0,
|
| 52 |
+
1.0,
|
| 53 |
+
1.0
|
| 54 |
+
],
|
| 55 |
+
"resize": "stretch_bilinear",
|
| 56 |
+
"signature_key": "serving_default",
|
| 57 |
+
"output_names": [
|
| 58 |
+
"logits",
|
| 59 |
+
"cam"
|
| 60 |
+
],
|
| 61 |
+
"logits_shape": [
|
| 62 |
+
1,
|
| 63 |
+
7
|
| 64 |
+
],
|
| 65 |
+
"logits_activation": "none_apply_softmax",
|
| 66 |
+
"cam_shape": [
|
| 67 |
+
1,
|
| 68 |
+
7,
|
| 69 |
+
7
|
| 70 |
+
],
|
| 71 |
+
"cam_range": [
|
| 72 |
+
0.0,
|
| 73 |
+
1.0
|
| 74 |
+
],
|
| 75 |
+
"cam_class": "argmax_logits",
|
| 76 |
+
"labels": [
|
| 77 |
+
"akiec",
|
| 78 |
+
"bcc",
|
| 79 |
+
"bkl",
|
| 80 |
+
"df",
|
| 81 |
+
"mel",
|
| 82 |
+
"nv",
|
| 83 |
+
"vasc"
|
| 84 |
+
],
|
| 85 |
+
"label_display_names": [
|
| 86 |
+
"Actinic keratosis / intraepithelial carcinoma",
|
| 87 |
+
"Basal cell carcinoma",
|
| 88 |
+
"Benign keratosis-like lesion",
|
| 89 |
+
"Dermatofibroma",
|
| 90 |
+
"Melanoma",
|
| 91 |
+
"Melanocytic nevus",
|
| 92 |
+
"Vascular lesion"
|
| 93 |
+
],
|
| 94 |
+
"dataset": {
|
| 95 |
+
"name": "HAM10000 (Kaggle mirror kmader/skin-cancer-mnist-ham10000)",
|
| 96 |
+
"source_url": "https://www.kaggle.com/datasets/kmader/skin-cancer-mnist-ham10000",
|
| 97 |
+
"license": "CC BY-NC 4.0 (verify on the dataset page)",
|
| 98 |
+
"split": "stratified group split by lesion_id (70/15/15)"
|
| 99 |
+
},
|
| 100 |
+
"metrics": {
|
| 101 |
+
"test_accuracy": 0.7972,
|
| 102 |
+
"test_balanced_accuracy": 0.7042,
|
| 103 |
+
"test_macro_auc": 0.9578,
|
| 104 |
+
"per_class_recall": {
|
| 105 |
+
"akiec": 0.6,
|
| 106 |
+
"bcc": 0.6579,
|
| 107 |
+
"bkl": 0.7586,
|
| 108 |
+
"df": 0.913,
|
| 109 |
+
"mel": 0.4648,
|
| 110 |
+
"nv": 0.8789,
|
| 111 |
+
"vasc": 0.6562
|
| 112 |
+
},
|
| 113 |
+
"confusion_matrix": [
|
| 114 |
+
[
|
| 115 |
+
30,
|
| 116 |
+
1,
|
| 117 |
+
11,
|
| 118 |
+
2,
|
| 119 |
+
4,
|
| 120 |
+
2,
|
| 121 |
+
0
|
| 122 |
+
],
|
| 123 |
+
[
|
| 124 |
+
7,
|
| 125 |
+
50,
|
| 126 |
+
8,
|
| 127 |
+
4,
|
| 128 |
+
3,
|
| 129 |
+
1,
|
| 130 |
+
3
|
| 131 |
+
],
|
| 132 |
+
[
|
| 133 |
+
11,
|
| 134 |
+
1,
|
| 135 |
+
132,
|
| 136 |
+
2,
|
| 137 |
+
12,
|
| 138 |
+
16,
|
| 139 |
+
0
|
| 140 |
+
],
|
| 141 |
+
[
|
| 142 |
+
1,
|
| 143 |
+
0,
|
| 144 |
+
0,
|
| 145 |
+
21,
|
| 146 |
+
1,
|
| 147 |
+
0,
|
| 148 |
+
0
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
2,
|
| 152 |
+
0,
|
| 153 |
+
20,
|
| 154 |
+
4,
|
| 155 |
+
66,
|
| 156 |
+
50,
|
| 157 |
+
0
|
| 158 |
+
],
|
| 159 |
+
[
|
| 160 |
+
5,
|
| 161 |
+
6,
|
| 162 |
+
47,
|
| 163 |
+
4,
|
| 164 |
+
51,
|
| 165 |
+
820,
|
| 166 |
+
0
|
| 167 |
+
],
|
| 168 |
+
[
|
| 169 |
+
0,
|
| 170 |
+
1,
|
| 171 |
+
3,
|
| 172 |
+
1,
|
| 173 |
+
1,
|
| 174 |
+
5,
|
| 175 |
+
21
|
| 176 |
+
]
|
| 177 |
+
],
|
| 178 |
+
"val_balanced_accuracy": 0.7315,
|
| 179 |
+
"n_train": 7163,
|
| 180 |
+
"n_val": 1420,
|
| 181 |
+
"n_test": 1430,
|
| 182 |
+
"smoke_test": false,
|
| 183 |
+
"tflite_parity_max_abs_logit_diff": 0.04821,
|
| 184 |
+
"tflite_parity_max_abs_cam_diff": 0.00481,
|
| 185 |
+
"tflite_argmax_agreement": 1.0,
|
| 186 |
+
"tflite_sample_accuracy": 0.7344,
|
| 187 |
+
"keras_sample_accuracy": 0.7344,
|
| 188 |
+
"tflite_latency_ms_colab_cpu_median": 21.8
|
| 189 |
+
},
|
| 190 |
+
"disclaimer": "Experimental. Not a medical diagnosis. Trained on public dermoscopy images (HAM10000), not clinically validated. Phone photos differ from dermoscopy images. See a doctor about any changing, bleeding or worrying skin spot.",
|
| 191 |
+
"min_app_version": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"id": "cxr",
|
| 195 |
+
"group": "scan",
|
| 196 |
+
"required": false,
|
| 197 |
+
"format": "tflite",
|
| 198 |
+
"description": "Experimental chest X-ray classifier with heatmap.",
|
| 199 |
+
"task": "cxr",
|
| 200 |
+
"display_name": "Chest X-ray analysis",
|
| 201 |
+
"version": 1,
|
| 202 |
+
"architecture": "densenet121",
|
| 203 |
+
"quantization": "float16",
|
| 204 |
+
"filename": "cxr_v1.tflite",
|
| 205 |
+
"path": "cxr/cxr_v1.tflite",
|
| 206 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/cxr/cxr_v1.tflite",
|
| 207 |
+
"labels_path": "cxr/labels.json",
|
| 208 |
+
"labels_url": "https://huggingface.co/mitsooko/med-models/resolve/main/cxr/labels.json",
|
| 209 |
+
"size_bytes": 14092744,
|
| 210 |
+
"sha256": "66f05f9db3ddb3543335f7529f7c79fa08abe4b89c52cb87753ecd6771cfc3b2",
|
| 211 |
+
"input_name": "image",
|
| 212 |
+
"input_shape": [
|
| 213 |
+
1,
|
| 214 |
+
224,
|
| 215 |
+
224,
|
| 216 |
+
3
|
| 217 |
+
],
|
| 218 |
+
"input_size": [
|
| 219 |
+
224,
|
| 220 |
+
224
|
| 221 |
+
],
|
| 222 |
+
"input_layout": "NHWC",
|
| 223 |
+
"input_dtype": "float32",
|
| 224 |
+
"color_order": "RGB",
|
| 225 |
+
"input_range": [
|
| 226 |
+
0.0,
|
| 227 |
+
255.0
|
| 228 |
+
],
|
| 229 |
+
"norm_mean": [
|
| 230 |
+
0.0,
|
| 231 |
+
0.0,
|
| 232 |
+
0.0
|
| 233 |
+
],
|
| 234 |
+
"norm_std": [
|
| 235 |
+
1.0,
|
| 236 |
+
1.0,
|
| 237 |
+
1.0
|
| 238 |
+
],
|
| 239 |
+
"resize": "stretch_bilinear",
|
| 240 |
+
"signature_key": "serving_default",
|
| 241 |
+
"output_names": [
|
| 242 |
+
"logits",
|
| 243 |
+
"cam"
|
| 244 |
+
],
|
| 245 |
+
"logits_shape": [
|
| 246 |
+
1,
|
| 247 |
+
2
|
| 248 |
+
],
|
| 249 |
+
"logits_activation": "none_apply_softmax",
|
| 250 |
+
"cam_shape": [
|
| 251 |
+
1,
|
| 252 |
+
7,
|
| 253 |
+
7
|
| 254 |
+
],
|
| 255 |
+
"cam_range": [
|
| 256 |
+
0.0,
|
| 257 |
+
1.0
|
| 258 |
+
],
|
| 259 |
+
"cam_class": "argmax_logits",
|
| 260 |
+
"labels": [
|
| 261 |
+
"normal",
|
| 262 |
+
"pneumonia"
|
| 263 |
+
],
|
| 264 |
+
"label_display_names": [
|
| 265 |
+
"Normal",
|
| 266 |
+
"Pneumonia"
|
| 267 |
+
],
|
| 268 |
+
"dataset": {
|
| 269 |
+
"name": "Chest X-Ray Images (Pneumonia), Kermany et al. 2018 (Kaggle mirror paultimothymooney/chest-xray-pneumonia)",
|
| 270 |
+
"source_url": "https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia",
|
| 271 |
+
"license": "CC BY 4.0 (verify on the dataset page)",
|
| 272 |
+
"split": "official test folder as test; train+val re-split by patient id parsed from file names"
|
| 273 |
+
},
|
| 274 |
+
"metrics": {
|
| 275 |
+
"test_accuracy": 0.8786,
|
| 276 |
+
"test_balanced_accuracy": 0.8394,
|
| 277 |
+
"test_macro_auc": 0.9467,
|
| 278 |
+
"per_class_recall": {
|
| 279 |
+
"normal": 0.684,
|
| 280 |
+
"pneumonia": 0.9948
|
| 281 |
+
},
|
| 282 |
+
"confusion_matrix": [
|
| 283 |
+
[
|
| 284 |
+
158,
|
| 285 |
+
73
|
| 286 |
+
],
|
| 287 |
+
[
|
| 288 |
+
2,
|
| 289 |
+
385
|
| 290 |
+
]
|
| 291 |
+
],
|
| 292 |
+
"val_balanced_accuracy": 0.9792,
|
| 293 |
+
"n_train": 3997,
|
| 294 |
+
"n_val": 756,
|
| 295 |
+
"n_test": 618,
|
| 296 |
+
"smoke_test": false,
|
| 297 |
+
"tflite_parity_max_abs_logit_diff": 0.00822,
|
| 298 |
+
"tflite_parity_max_abs_cam_diff": 0.00392,
|
| 299 |
+
"tflite_argmax_agreement": 1.0,
|
| 300 |
+
"tflite_sample_accuracy": 0.875,
|
| 301 |
+
"keras_sample_accuracy": 0.875,
|
| 302 |
+
"tflite_latency_ms_colab_cpu_median": 77.6
|
| 303 |
+
},
|
| 304 |
+
"disclaimer": "Experimental. Not a medical diagnosis. Trained on public pediatric chest X-rays from a single hospital, not clinically validated. Only a radiologist or doctor can interpret an X-ray.",
|
| 305 |
+
"min_app_version": 1
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"id": "mri",
|
| 309 |
+
"group": "scan",
|
| 310 |
+
"required": false,
|
| 311 |
+
"format": "tflite",
|
| 312 |
+
"description": "Experimental brain MRI classifier with heatmap.",
|
| 313 |
+
"task": "mri",
|
| 314 |
+
"display_name": "Brain MRI analysis",
|
| 315 |
+
"version": 1,
|
| 316 |
+
"architecture": "efficientnetb0",
|
| 317 |
+
"quantization": "float16",
|
| 318 |
+
"filename": "mri_v1.tflite",
|
| 319 |
+
"path": "mri/mri_v1.tflite",
|
| 320 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/mri/mri_v1.tflite",
|
| 321 |
+
"labels_path": "mri/labels.json",
|
| 322 |
+
"labels_url": "https://huggingface.co/mitsooko/med-models/resolve/main/mri/labels.json",
|
| 323 |
+
"size_bytes": 8130164,
|
| 324 |
+
"sha256": "f81ed3578e20632425ff6548501b1ef8dc1c7c968391b48417529db73863e7d0",
|
| 325 |
+
"input_name": "image",
|
| 326 |
+
"input_shape": [
|
| 327 |
+
1,
|
| 328 |
+
224,
|
| 329 |
+
224,
|
| 330 |
+
3
|
| 331 |
+
],
|
| 332 |
+
"input_size": [
|
| 333 |
+
224,
|
| 334 |
+
224
|
| 335 |
+
],
|
| 336 |
+
"input_layout": "NHWC",
|
| 337 |
+
"input_dtype": "float32",
|
| 338 |
+
"color_order": "RGB",
|
| 339 |
+
"input_range": [
|
| 340 |
+
0.0,
|
| 341 |
+
255.0
|
| 342 |
+
],
|
| 343 |
+
"norm_mean": [
|
| 344 |
+
0.0,
|
| 345 |
+
0.0,
|
| 346 |
+
0.0
|
| 347 |
+
],
|
| 348 |
+
"norm_std": [
|
| 349 |
+
1.0,
|
| 350 |
+
1.0,
|
| 351 |
+
1.0
|
| 352 |
+
],
|
| 353 |
+
"resize": "stretch_bilinear",
|
| 354 |
+
"signature_key": "serving_default",
|
| 355 |
+
"output_names": [
|
| 356 |
+
"logits",
|
| 357 |
+
"cam"
|
| 358 |
+
],
|
| 359 |
+
"logits_shape": [
|
| 360 |
+
1,
|
| 361 |
+
4
|
| 362 |
+
],
|
| 363 |
+
"logits_activation": "none_apply_softmax",
|
| 364 |
+
"cam_shape": [
|
| 365 |
+
1,
|
| 366 |
+
7,
|
| 367 |
+
7
|
| 368 |
+
],
|
| 369 |
+
"cam_range": [
|
| 370 |
+
0.0,
|
| 371 |
+
1.0
|
| 372 |
+
],
|
| 373 |
+
"cam_class": "argmax_logits",
|
| 374 |
+
"labels": [
|
| 375 |
+
"glioma",
|
| 376 |
+
"meningioma",
|
| 377 |
+
"notumor",
|
| 378 |
+
"pituitary"
|
| 379 |
+
],
|
| 380 |
+
"label_display_names": [
|
| 381 |
+
"Glioma",
|
| 382 |
+
"Meningioma",
|
| 383 |
+
"No tumor",
|
| 384 |
+
"Pituitary tumor"
|
| 385 |
+
],
|
| 386 |
+
"dataset": {
|
| 387 |
+
"name": "Brain Tumor MRI Dataset (Kaggle masoudnickparvar/brain-tumor-mri-dataset)",
|
| 388 |
+
"source_url": "https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset",
|
| 389 |
+
"license": "see dataset page (listed as CC0-1.0; verify)",
|
| 390 |
+
"split": "official Testing folder as test; stratified val from Training; exact duplicates removed across splits (no patient ids available)"
|
| 391 |
+
},
|
| 392 |
+
"metrics": {
|
| 393 |
+
"test_accuracy": 0.9463,
|
| 394 |
+
"test_balanced_accuracy": 0.9453,
|
| 395 |
+
"test_macro_auc": 0.9888,
|
| 396 |
+
"per_class_recall": {
|
| 397 |
+
"glioma": 0.8238,
|
| 398 |
+
"meningioma": 0.9698,
|
| 399 |
+
"notumor": 0.9875,
|
| 400 |
+
"pituitary": 1.0
|
| 401 |
+
},
|
| 402 |
+
"confusion_matrix": [
|
| 403 |
+
[
|
| 404 |
+
318,
|
| 405 |
+
47,
|
| 406 |
+
19,
|
| 407 |
+
2
|
| 408 |
+
],
|
| 409 |
+
[
|
| 410 |
+
2,
|
| 411 |
+
386,
|
| 412 |
+
1,
|
| 413 |
+
9
|
| 414 |
+
],
|
| 415 |
+
[
|
| 416 |
+
1,
|
| 417 |
+
2,
|
| 418 |
+
395,
|
| 419 |
+
2
|
| 420 |
+
],
|
| 421 |
+
[
|
| 422 |
+
0,
|
| 423 |
+
0,
|
| 424 |
+
0,
|
| 425 |
+
400
|
| 426 |
+
]
|
| 427 |
+
],
|
| 428 |
+
"val_balanced_accuracy": 0.9714,
|
| 429 |
+
"n_train": 4524,
|
| 430 |
+
"n_val": 905,
|
| 431 |
+
"n_test": 1584,
|
| 432 |
+
"smoke_test": false,
|
| 433 |
+
"tflite_parity_max_abs_logit_diff": 0.08367,
|
| 434 |
+
"tflite_parity_max_abs_cam_diff": 0.01811,
|
| 435 |
+
"tflite_argmax_agreement": 1.0,
|
| 436 |
+
"tflite_sample_accuracy": 0.9531,
|
| 437 |
+
"keras_sample_accuracy": 0.9531,
|
| 438 |
+
"tflite_latency_ms_colab_cpu_median": 20.5
|
| 439 |
+
},
|
| 440 |
+
"disclaimer": "Experimental. Not a medical diagnosis. Trained on a public 2D brain MRI slice dataset without patient ids, not clinically validated. Only a radiologist or doctor can interpret an MRI.",
|
| 441 |
+
"min_app_version": 1
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"id": "emotion",
|
| 445 |
+
"task": "emotion",
|
| 446 |
+
"group": "vitals",
|
| 447 |
+
"required": false,
|
| 448 |
+
"display_name": "Facial expression estimate",
|
| 449 |
+
"description": "Optional: shows the facial expression estimate on the vitals results.",
|
| 450 |
+
"version": 1,
|
| 451 |
+
"format": "tflite",
|
| 452 |
+
"filename": "emotion_enet_b0_fp32.tflite",
|
| 453 |
+
"path": "emotion/emotion_enet_b0_fp32.tflite",
|
| 454 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/emotion/emotion_enet_b0_fp32.tflite",
|
| 455 |
+
"size_bytes": 16059704,
|
| 456 |
+
"sha256": "8663a90e4017e77bce8cb9d8bf6389c9f7cbacc82543ab7d78c6bf00372f487c",
|
| 457 |
+
"source_url": "https://github.com/av-savchenko/face-emotion-recognition",
|
| 458 |
+
"license": "Apache-2.0",
|
| 459 |
+
"disclaimer": "Experimental expression estimate. Not an emotion or mental-health assessment.",
|
| 460 |
+
"min_app_version": 1
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"id": "face_landmarker",
|
| 464 |
+
"task": "face_landmarks",
|
| 465 |
+
"group": "vitals",
|
| 466 |
+
"required": true,
|
| 467 |
+
"display_name": "Face landmarks (MediaPipe)",
|
| 468 |
+
"description": "Needed for every vitals measurement: finds the face and its 478 landmarks.",
|
| 469 |
+
"version": 1,
|
| 470 |
+
"format": "mediapipe_task",
|
| 471 |
+
"filename": "face_landmarker.task",
|
| 472 |
+
"path": "face_landmarker/face_landmarker.task",
|
| 473 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/face_landmarker/face_landmarker.task",
|
| 474 |
+
"size_bytes": 3758596,
|
| 475 |
+
"sha256": "64184e229b263107bc2b804c6625db1341ff2bb731874b0bcc2fe6544e0bc9ff",
|
| 476 |
+
"source_url": "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task",
|
| 477 |
+
"license": "Apache-2.0 (MediaPipe; verify)",
|
| 478 |
+
"disclaimer": "Research prototype. Not a medical device.",
|
| 479 |
+
"min_app_version": 1
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"id": "rppg_lq",
|
| 483 |
+
"task": "rppg",
|
| 484 |
+
"group": "vitals",
|
| 485 |
+
"required": false,
|
| 486 |
+
"display_name": "Deep pulse model: LQ-rPPG",
|
| 487 |
+
"description": "Optional deep model for the vitals measurement (Method: Deep model).",
|
| 488 |
+
"version": 1,
|
| 489 |
+
"format": "tflite",
|
| 490 |
+
"filename": "rppg_lq_fp32.tflite",
|
| 491 |
+
"path": "rppg_lq/rppg_lq_fp32.tflite",
|
| 492 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/rppg_lq/rppg_lq_fp32.tflite",
|
| 493 |
+
"size_bytes": 1803396,
|
| 494 |
+
"sha256": "f4002d1f36997f8baad50010204172d43940692652d824a50fea951c66e88102",
|
| 495 |
+
"source_url": "https://github.com/junseonglee-repo/LQ-rPPG",
|
| 496 |
+
"license": "MIT",
|
| 497 |
+
"disclaimer": "Research prototype. Not a medical device. Pretrained third-party model; not clinically validated on this app.",
|
| 498 |
+
"min_app_version": 1
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"id": "rppg_mamba",
|
| 502 |
+
"task": "rppg",
|
| 503 |
+
"group": "vitals",
|
| 504 |
+
"required": false,
|
| 505 |
+
"display_name": "Deep pulse model: RhythmMamba",
|
| 506 |
+
"description": "Optional deep model for the vitals measurement (Method: Deep model).",
|
| 507 |
+
"version": 1,
|
| 508 |
+
"format": "tflite",
|
| 509 |
+
"filename": "rppg_mamba_fp32.tflite",
|
| 510 |
+
"path": "rppg_mamba/rppg_mamba_fp32.tflite",
|
| 511 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/rppg_mamba/rppg_mamba_fp32.tflite",
|
| 512 |
+
"size_bytes": 15984316,
|
| 513 |
+
"sha256": "5700fc5a3d5610690bfd199744aa88d59e1ab0cedba126d6531c6f7b06c9bc29",
|
| 514 |
+
"source_url": "https://github.com/zizheng-guo/RhythmMamba",
|
| 515 |
+
"license": "MIT",
|
| 516 |
+
"disclaimer": "Research prototype. Not a medical device. Pretrained third-party model; not clinically validated on this app.",
|
| 517 |
+
"min_app_version": 1
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"id": "rppg_tscan",
|
| 521 |
+
"task": "rppg",
|
| 522 |
+
"group": "vitals",
|
| 523 |
+
"required": false,
|
| 524 |
+
"display_name": "Deep pulse model: TS-CAN",
|
| 525 |
+
"description": "Optional deep model for the vitals measurement (Method: Deep model).",
|
| 526 |
+
"version": 1,
|
| 527 |
+
"format": "tflite",
|
| 528 |
+
"filename": "rppg_tscan_fp32.tflite",
|
| 529 |
+
"path": "rppg_tscan/rppg_tscan_fp32.tflite",
|
| 530 |
+
"url": "https://huggingface.co/mitsooko/med-models/resolve/main/rppg_tscan/rppg_tscan_fp32.tflite",
|
| 531 |
+
"size_bytes": 9145332,
|
| 532 |
+
"sha256": "3ccd6df682f91cb128aa611b4a968c10ffaf70b5f36dc292248a8940d464858e",
|
| 533 |
+
"source_url": "https://github.com/ubicomplab/rPPG-Toolbox",
|
| 534 |
+
"license": "Responsible AI Source Code License 1.1 (rPPG-Toolbox)",
|
| 535 |
+
"disclaimer": "Research prototype. Not a medical device. Pretrained third-party model; not clinically validated on this app.",
|
| 536 |
+
"min_app_version": 1
|
| 537 |
+
}
|
| 538 |
+
]
|
| 539 |
}
|
mri/labels.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task": "mri",
|
| 3 |
+
"version": 1,
|
| 4 |
+
"labels": [
|
| 5 |
+
"glioma",
|
| 6 |
+
"meningioma",
|
| 7 |
+
"notumor",
|
| 8 |
+
"pituitary"
|
| 9 |
+
],
|
| 10 |
+
"display_names": [
|
| 11 |
+
"Glioma",
|
| 12 |
+
"Meningioma",
|
| 13 |
+
"No tumor",
|
| 14 |
+
"Pituitary tumor"
|
| 15 |
+
]
|
| 16 |
+
}
|
mri/mri_v1.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f81ed3578e20632425ff6548501b1ef8dc1c7c968391b48417529db73863e7d0
|
| 3 |
+
size 8130164
|
skin/labels.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task": "skin",
|
| 3 |
+
"version": 1,
|
| 4 |
+
"labels": [
|
| 5 |
+
"akiec",
|
| 6 |
+
"bcc",
|
| 7 |
+
"bkl",
|
| 8 |
+
"df",
|
| 9 |
+
"mel",
|
| 10 |
+
"nv",
|
| 11 |
+
"vasc"
|
| 12 |
+
],
|
| 13 |
+
"display_names": [
|
| 14 |
+
"Actinic keratosis / intraepithelial carcinoma",
|
| 15 |
+
"Basal cell carcinoma",
|
| 16 |
+
"Benign keratosis-like lesion",
|
| 17 |
+
"Dermatofibroma",
|
| 18 |
+
"Melanoma",
|
| 19 |
+
"Melanocytic nevus",
|
| 20 |
+
"Vascular lesion"
|
| 21 |
+
]
|
| 22 |
+
}
|
skin/skin_v1.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07f01645e79933741775336fc3b15f8bf3de59a3a39b96ea3cf0dc7079c5199b
|
| 3 |
+
size 8146888
|