peter881122 commited on
Commit
2a8f5e7
1 Parent(s): de01b80

Training in progress, step 500

Browse files
Files changed (5) hide show
  1. README.md +102 -0
  2. config.json +51 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +37 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/resnet-50
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: freeway_resnet50_Model
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
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/huangyangyu/huggingface/runs/zbrisuho)
17
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/huangyangyu/huggingface/runs/zbrisuho)
18
+ # freeway_resnet50_Model
19
+
20
+ This model is a fine-tuned version of [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.0047
23
+ - Accuracy: 1.0
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 64
44
+ - eval_batch_size: 64
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 20
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
54
+ | 0.3403 | 0.4808 | 100 | 0.3006 | 0.9454 |
55
+ | 0.3093 | 0.9615 | 200 | 0.2498 | 0.9540 |
56
+ | 0.2743 | 1.4423 | 300 | 0.2004 | 0.9666 |
57
+ | 0.2375 | 1.9231 | 400 | 0.1552 | 0.9798 |
58
+ | 0.2118 | 2.4038 | 500 | 0.1143 | 0.9852 |
59
+ | 0.1953 | 2.8846 | 600 | 0.1095 | 0.9844 |
60
+ | 0.1807 | 3.3654 | 700 | 0.0893 | 0.9895 |
61
+ | 0.1623 | 3.8462 | 800 | 0.0682 | 0.9914 |
62
+ | 0.1414 | 4.3269 | 900 | 0.0560 | 0.9941 |
63
+ | 0.1296 | 4.8077 | 1000 | 0.0511 | 0.9933 |
64
+ | 0.1195 | 5.2885 | 1100 | 0.0344 | 0.9957 |
65
+ | 0.1114 | 5.7692 | 1200 | 0.0303 | 0.9984 |
66
+ | 0.1034 | 6.25 | 1300 | 0.0298 | 0.9965 |
67
+ | 0.0994 | 6.7308 | 1400 | 0.0257 | 0.9987 |
68
+ | 0.0907 | 7.2115 | 1500 | 0.0225 | 0.9992 |
69
+ | 0.0881 | 7.6923 | 1600 | 0.0201 | 0.9987 |
70
+ | 0.0801 | 8.1731 | 1700 | 0.0157 | 1.0 |
71
+ | 0.0764 | 8.6538 | 1800 | 0.0141 | 0.9995 |
72
+ | 0.0746 | 9.1346 | 1900 | 0.0142 | 0.9995 |
73
+ | 0.0715 | 9.6154 | 2000 | 0.0115 | 0.9995 |
74
+ | 0.074 | 10.0962 | 2100 | 0.0124 | 0.9992 |
75
+ | 0.0677 | 10.5769 | 2200 | 0.0102 | 0.9995 |
76
+ | 0.0679 | 11.0577 | 2300 | 0.0101 | 0.9995 |
77
+ | 0.068 | 11.5385 | 2400 | 0.0110 | 0.9992 |
78
+ | 0.0589 | 12.0192 | 2500 | 0.0081 | 0.9997 |
79
+ | 0.0581 | 12.5 | 2600 | 0.0090 | 0.9995 |
80
+ | 0.058 | 12.9808 | 2700 | 0.0080 | 0.9995 |
81
+ | 0.0559 | 13.4615 | 2800 | 0.0082 | 0.9997 |
82
+ | 0.0547 | 13.9423 | 2900 | 0.0062 | 1.0 |
83
+ | 0.0493 | 14.4231 | 3000 | 0.0061 | 1.0 |
84
+ | 0.0506 | 14.9038 | 3100 | 0.0054 | 1.0 |
85
+ | 0.0466 | 15.3846 | 3200 | 0.0068 | 0.9995 |
86
+ | 0.0506 | 15.8654 | 3300 | 0.0055 | 1.0 |
87
+ | 0.0481 | 16.3462 | 3400 | 0.0053 | 1.0 |
88
+ | 0.0523 | 16.8269 | 3500 | 0.0053 | 1.0 |
89
+ | 0.0537 | 17.3077 | 3600 | 0.0061 | 0.9995 |
90
+ | 0.0474 | 17.7885 | 3700 | 0.0049 | 1.0 |
91
+ | 0.0511 | 18.2692 | 3800 | 0.0054 | 1.0 |
92
+ | 0.0474 | 18.75 | 3900 | 0.0052 | 1.0 |
93
+ | 0.0456 | 19.2308 | 4000 | 0.0062 | 0.9997 |
94
+ | 0.0385 | 19.7115 | 4100 | 0.0047 | 1.0 |
95
+
96
+
97
+ ### Framework versions
98
+
99
+ - Transformers 4.42.0.dev0
100
+ - Pytorch 2.1.1
101
+ - Datasets 2.19.2
102
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/convnextv2-tiny-22k-224",
3
+ "architectures": [
4
+ "ConvNextV2ForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 9,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 96,
16
+ 192,
17
+ 384,
18
+ 768
19
+ ],
20
+ "id2label": {
21
+ "0": "0",
22
+ "1": "1"
23
+ },
24
+ "image_size": 224,
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "0": 0,
28
+ "1": 1
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "convnextv2",
32
+ "num_channels": 3,
33
+ "num_stages": 4,
34
+ "out_features": [
35
+ "stage4"
36
+ ],
37
+ "out_indices": [
38
+ 4
39
+ ],
40
+ "patch_size": 4,
41
+ "problem_type": "single_label_classification",
42
+ "stage_names": [
43
+ "stem",
44
+ "stage1",
45
+ "stage2",
46
+ "stage3",
47
+ "stage4"
48
+ ],
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.42.0.dev0"
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a081e1fd136b852d34e866612ed0aebdc3e83c08b3400698461e5c0a28026551
3
+ size 111495808
preprocessor_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "crop_pct",
7
+ "resample",
8
+ "do_rescale",
9
+ "rescale_factor",
10
+ "do_normalize",
11
+ "image_mean",
12
+ "image_std",
13
+ "return_tensors",
14
+ "data_format",
15
+ "input_data_format"
16
+ ],
17
+ "crop_pct": 0.875,
18
+ "do_normalize": true,
19
+ "do_rescale": false,
20
+ "do_resize": true,
21
+ "image_mean": [
22
+ 0.485,
23
+ 0.456,
24
+ 0.406
25
+ ],
26
+ "image_processor_type": "ConvNextImageProcessor",
27
+ "image_std": [
28
+ 0.229,
29
+ 0.224,
30
+ 0.225
31
+ ],
32
+ "resample": 3,
33
+ "rescale_factor": 0.00392156862745098,
34
+ "size": {
35
+ "shortest_edge": 224
36
+ }
37
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6464338c59701ba3346749ff80f5124af12a78758324b2dc503b842b249624ef
3
+ size 5112