End of training
Browse files- README.md +71 -0
- config.json +70 -0
- preprocessor_config.json +17 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: Xanadu00/galaxy_classifier_mobilevit_3
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
+
probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# Xanadu00/galaxy_classifier_mobilevit_3
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [apple/mobilevit-small](https://huggingface.co/apple/mobilevit-small) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 0.1914
|
18 |
+
- Train Accuracy: 0.9341
|
19 |
+
- Validation Loss: 0.5148
|
20 |
+
- Validation Accuracy: 0.8512
|
21 |
+
- Epoch: 16
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- optimizer: {'name': 'AdamW', 'weight_decay': 0.01, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'ExponentialDecay', 'config': {'initial_learning_rate': 0.002, 'decay_steps': 10000, 'decay_rate': 0.01, 'staircase': False, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
|
41 |
+
- training_precision: float32
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
46 |
+
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
47 |
+
| 1.1049 | 0.6128 | 0.7422 | 0.7517 | 0 |
|
48 |
+
| 0.7149 | 0.7564 | 0.6376 | 0.7821 | 1 |
|
49 |
+
| 0.6080 | 0.7945 | 0.6947 | 0.7745 | 2 |
|
50 |
+
| 0.5376 | 0.8160 | 0.5589 | 0.8134 | 3 |
|
51 |
+
| 0.4977 | 0.8279 | 0.5458 | 0.8162 | 4 |
|
52 |
+
| 0.4564 | 0.8407 | 0.4799 | 0.8441 | 5 |
|
53 |
+
| 0.4271 | 0.8557 | 0.4765 | 0.8413 | 6 |
|
54 |
+
| 0.3957 | 0.8619 | 0.4790 | 0.8453 | 7 |
|
55 |
+
| 0.3701 | 0.8741 | 0.5376 | 0.8329 | 8 |
|
56 |
+
| 0.3425 | 0.8829 | 0.4359 | 0.8619 | 9 |
|
57 |
+
| 0.3192 | 0.8892 | 0.4475 | 0.8585 | 10 |
|
58 |
+
| 0.2972 | 0.8967 | 0.4143 | 0.8712 | 11 |
|
59 |
+
| 0.2691 | 0.9080 | 0.4819 | 0.8498 | 12 |
|
60 |
+
| 0.2445 | 0.9144 | 0.4543 | 0.8563 | 13 |
|
61 |
+
| 0.2261 | 0.9220 | 0.4221 | 0.8689 | 14 |
|
62 |
+
| 0.2127 | 0.9251 | 0.5076 | 0.8540 | 15 |
|
63 |
+
| 0.1914 | 0.9341 | 0.5148 | 0.8512 | 16 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.30.2
|
69 |
+
- TensorFlow 2.12.0
|
70 |
+
- Datasets 2.13.1
|
71 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "apple/mobilevit-small",
|
3 |
+
"architectures": [
|
4 |
+
"MobileViTForImageClassification"
|
5 |
+
],
|
6 |
+
"aspp_dropout_prob": 0.1,
|
7 |
+
"aspp_out_channels": 256,
|
8 |
+
"atrous_rates": [
|
9 |
+
6,
|
10 |
+
12,
|
11 |
+
18
|
12 |
+
],
|
13 |
+
"attention_probs_dropout_prob": 0.0,
|
14 |
+
"classifier_dropout_prob": 0.1,
|
15 |
+
"conv_kernel_size": 3,
|
16 |
+
"expand_ratio": 4.0,
|
17 |
+
"hidden_act": "silu",
|
18 |
+
"hidden_dropout_prob": 0.1,
|
19 |
+
"hidden_sizes": [
|
20 |
+
144,
|
21 |
+
192,
|
22 |
+
240
|
23 |
+
],
|
24 |
+
"id2label": {
|
25 |
+
"0": "Barred Spiral",
|
26 |
+
"1": "Cigar Round Smooth",
|
27 |
+
"2": "Distributed",
|
28 |
+
"3": "Edge-on with Bulge",
|
29 |
+
"4": "Edge-on without Bulge",
|
30 |
+
"5": "In-between Round Smooth",
|
31 |
+
"6": "Merging",
|
32 |
+
"7": "Round Smooth",
|
33 |
+
"8": "Unbarred Loss Spiral",
|
34 |
+
"9": "Unbarred Tight Spiral"
|
35 |
+
},
|
36 |
+
"image_size": 256,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"label2id": {
|
39 |
+
"Barred Spiral": "0",
|
40 |
+
"Cigar Round Smooth": "1",
|
41 |
+
"Distributed": "2",
|
42 |
+
"Edge-on with Bulge": "3",
|
43 |
+
"Edge-on without Bulge": "4",
|
44 |
+
"In-between Round Smooth": "5",
|
45 |
+
"Merging": "6",
|
46 |
+
"Round Smooth": "7",
|
47 |
+
"Unbarred Loss Spiral": "8",
|
48 |
+
"Unbarred Tight Spiral": "9"
|
49 |
+
},
|
50 |
+
"layer_norm_eps": 1e-05,
|
51 |
+
"mlp_ratio": 2.0,
|
52 |
+
"model_type": "mobilevit",
|
53 |
+
"neck_hidden_sizes": [
|
54 |
+
16,
|
55 |
+
32,
|
56 |
+
64,
|
57 |
+
96,
|
58 |
+
128,
|
59 |
+
160,
|
60 |
+
640
|
61 |
+
],
|
62 |
+
"num_attention_heads": 4,
|
63 |
+
"num_channels": 3,
|
64 |
+
"output_stride": 32,
|
65 |
+
"patch_size": 2,
|
66 |
+
"qkv_bias": true,
|
67 |
+
"semantic_loss_ignore_index": 255,
|
68 |
+
"torch_dtype": "float32",
|
69 |
+
"transformers_version": "4.30.2"
|
70 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 256,
|
4 |
+
"width": 256
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_flip_channel_order": true,
|
8 |
+
"do_flip_channels": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_processor_type": "MobileViTImageProcessor",
|
12 |
+
"resample": 2,
|
13 |
+
"rescale_factor": 0.00392156862745098,
|
14 |
+
"size": {
|
15 |
+
"shortest_edge": 288
|
16 |
+
}
|
17 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2924082e9a04113e443ed026adfd9a3b765ffcdf63354b94120c1e73e5d6e6e
|
3 |
+
size 20255544
|