Model save
Browse files- README.md +52 -0
- config.json +59 -0
- model.safetensors +3 -0
- preprocessor_config.json +19 -0
- runs/Nov14_09-08-15_fa108b7cccfa/events.out.tfevents.1699952901.fa108b7cccfa.21556.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: apple/mobilevit-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: car_identified_model_11
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# car_identified_model_11
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [apple/mobilevit-small](https://huggingface.co/apple/mobilevit-small) on the imagefolder dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 16
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 8
|
42 |
+
- total_train_batch_size: 128
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 200
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.35.0
|
50 |
+
- Pytorch 2.1.0+cu121
|
51 |
+
- Datasets 2.14.6
|
52 |
+
- Tokenizers 0.14.1
|
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Toyota_corolla",
|
26 |
+
"1": "Hyunday_ioniq",
|
27 |
+
"2": "black",
|
28 |
+
"3": "white"
|
29 |
+
},
|
30 |
+
"image_size": 256,
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"label2id": {
|
33 |
+
"Hyunday_ioniq": "1",
|
34 |
+
"Toyota_corolla": "0",
|
35 |
+
"black": "2",
|
36 |
+
"white": "3"
|
37 |
+
},
|
38 |
+
"layer_norm_eps": 1e-05,
|
39 |
+
"mlp_ratio": 2.0,
|
40 |
+
"model_type": "mobilevit",
|
41 |
+
"neck_hidden_sizes": [
|
42 |
+
16,
|
43 |
+
32,
|
44 |
+
64,
|
45 |
+
96,
|
46 |
+
128,
|
47 |
+
160,
|
48 |
+
640
|
49 |
+
],
|
50 |
+
"num_attention_heads": 4,
|
51 |
+
"num_channels": 3,
|
52 |
+
"output_stride": 32,
|
53 |
+
"patch_size": 2,
|
54 |
+
"problem_type": "multi_label_classification",
|
55 |
+
"qkv_bias": true,
|
56 |
+
"semantic_loss_ignore_index": 255,
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.35.0"
|
59 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:acabfde8d7036b36629855654de2823bcb60b80dc440dcef6c204acbf96d6673
|
3 |
+
size 19856696
|
preprocessor_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"feature_extractor_type": "MobileViTFeatureExtractor",
|
12 |
+
"image_processor_type": "MobileViTImageProcessor",
|
13 |
+
"resample": 2,
|
14 |
+
"rescale_factor": 0.00392156862745098,
|
15 |
+
"size": {
|
16 |
+
"shortest_edge": 288
|
17 |
+
},
|
18 |
+
"use_square_size": false
|
19 |
+
}
|
runs/Nov14_09-08-15_fa108b7cccfa/events.out.tfevents.1699952901.fa108b7cccfa.21556.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a8245d4a991e14c0e27d767e1a43f6ad2fb208c01cb91d9212be86ad07f3f94
|
3 |
+
size 71620
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6ccb53d053fa0e6a1c69b0445b375ee7a6aaab926db5f8edf72cbd410144826
|
3 |
+
size 4600
|