Prahas10 commited on
Commit
f91f6bb
1 Parent(s): 42a634e

Training in progress epoch 0

Browse files
Files changed (4) hide show
  1. README.md +55 -0
  2. config.json +56 -0
  3. preprocessor_config.json +22 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch32-384
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: Prahas10/roof_classification
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # Prahas10/roof_classification
15
+
16
+ This model is a fine-tuned version of [google/vit-base-patch32-384](https://huggingface.co/google/vit-base-patch32-384) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 2.5019
19
+ - Validation Loss: 2.0795
20
+ - Train Accuracy: 0.3735
21
+ - Epoch: 0
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': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 4825, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.0001}
41
+ - training_precision: float32
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Validation Loss | Train Accuracy | Epoch |
46
+ |:----------:|:---------------:|:--------------:|:-----:|
47
+ | 2.5019 | 2.0795 | 0.3735 | 0 |
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.38.2
53
+ - TensorFlow 2.15.0
54
+ - Datasets 2.16.1
55
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch32-384",
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": "cteed_landmark_driftwood_shade",
13
+ "1": "cteed_landmark_driftwood_sun",
14
+ "10": "iko_dynasty_granite_black_sun",
15
+ "11": "tamko_heritage_autumn_brown_shade",
16
+ "12": "tamko_heritage_autumn_brown_sun",
17
+ "13": "tamko_titan_xt_rustic_brown_shade",
18
+ "14": "tamko_titan_xt_rustic_brown_sun",
19
+ "2": "cteed_landmark_georgetown_gray_shade",
20
+ "3": "cteed_landmark_georgetown_gray_sun",
21
+ "4": "cteed_landmark_wwoo_sun",
22
+ "5": "cteed_landmark_wwood_shade",
23
+ "6": "gaf_hdz_charcoal_sun",
24
+ "7": "iko_dynasty_cornerstone_shade",
25
+ "8": "iko_dynasty_cornerstone_sun",
26
+ "9": "iko_dynasty_granite_black_shade"
27
+ },
28
+ "image_size": 384,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "cteed_landmark_driftwood_shade": "0",
33
+ "cteed_landmark_driftwood_sun": "1",
34
+ "cteed_landmark_georgetown_gray_shade": "2",
35
+ "cteed_landmark_georgetown_gray_sun": "3",
36
+ "cteed_landmark_wwoo_sun": "4",
37
+ "cteed_landmark_wwood_shade": "5",
38
+ "gaf_hdz_charcoal_sun": "6",
39
+ "iko_dynasty_cornerstone_shade": "7",
40
+ "iko_dynasty_cornerstone_sun": "8",
41
+ "iko_dynasty_granite_black_shade": "9",
42
+ "iko_dynasty_granite_black_sun": "10",
43
+ "tamko_heritage_autumn_brown_shade": "11",
44
+ "tamko_heritage_autumn_brown_sun": "12",
45
+ "tamko_titan_xt_rustic_brown_shade": "13",
46
+ "tamko_titan_xt_rustic_brown_sun": "14"
47
+ },
48
+ "layer_norm_eps": 1e-12,
49
+ "model_type": "vit",
50
+ "num_attention_heads": 12,
51
+ "num_channels": 3,
52
+ "num_hidden_layers": 12,
53
+ "patch_size": 32,
54
+ "qkv_bias": true,
55
+ "transformers_version": "4.38.2"
56
+ }
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": "ViTImageProcessor",
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": 384,
20
+ "width": 384
21
+ }
22
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d92f780c62833111affb14ce661f85956ebb0a00a12d38b858ed4778202df43f
3
+ size 350444216