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