File size: 6,300 Bytes
3ae0272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "schema_version": 1,
  "generated_by": "built-in defaults (app/src/main/assets/model_registry.json)",
  "generated_at": null,
  "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",
      "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": null,
      "sha256": null,
      "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": null,
      "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",
      "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": null,
      "sha256": null,
      "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": null,
      "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",
      "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": null,
      "sha256": null,
      "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": null,
      "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
    }
  ]
}