commit files to HF hub
Browse files- .gitattributes +2 -0
- README.md +35 -0
- config.json +32 -0
- images/High_Energy_Ion_Fe_Nuclei +3 -0
- images/XRay_irradiated_Nuclei +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/events.out.tfevents.1705945204.93c3292d6ad5.1547.0 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ 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 |
+
images/High_Energy_Ion_Fe_Nuclei filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/XRay_irradiated_Nuclei filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- nasa
|
6 |
+
- biological
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
|
10 |
+
model-index:
|
11 |
+
- name: NASA_GeneLab_MBT
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
metrics:
|
17 |
+
- name: Accuracy
|
18 |
+
type: accuracy
|
19 |
+
value: 0.8050341606140137
|
20 |
+
---
|
21 |
+
|
22 |
+
# NASA_GeneLab_MBT
|
23 |
+
|
24 |
+
NASA GeneLab VisionTransformer on BPS Microscopy Data
|
25 |
+
|
26 |
+
## Example Images
|
27 |
+
|
28 |
+
|
29 |
+
#### High_Energy_Ion_Fe_Nuclei
|
30 |
+
|
31 |
+
![High_Energy_Ion_Fe_Nuclei](images/High_Energy_Ion_Fe_Nuclei)
|
32 |
+
|
33 |
+
#### XRay_irradiated_Nuclei
|
34 |
+
|
35 |
+
![XRay_irradiated_Nuclei](images/XRay_irradiated_Nuclei)
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "High_Energy_Ion_Fe_Nuclei",
|
13 |
+
"1": "XRay_irradiated_Nuclei"
|
14 |
+
},
|
15 |
+
"image_size": 224,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"High_Energy_Ion_Fe_Nuclei": "0",
|
20 |
+
"XRay_irradiated_Nuclei": "1"
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-12,
|
23 |
+
"model_type": "vit",
|
24 |
+
"num_attention_heads": 12,
|
25 |
+
"num_channels": 3,
|
26 |
+
"num_hidden_layers": 12,
|
27 |
+
"patch_size": 16,
|
28 |
+
"problem_type": "single_label_classification",
|
29 |
+
"qkv_bias": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.35.2"
|
32 |
+
}
|
images/High_Energy_Ion_Fe_Nuclei
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
|
3 |
+
size 6148
|
images/XRay_irradiated_Nuclei
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3
|
3 |
+
size 6148
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b6241cbbcb077a3b8532194ff808c01ea9c7f2b0ae5aa143ec1573ee9f96e9f
|
3 |
+
size 343223968
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/events.out.tfevents.1705945204.93c3292d6ad5.1547.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0361689d295859b0776c48c8397ba4b1ca9d7ff1216b1063a1a5d046966b8ff4
|
3 |
+
size 389582
|