lucidigi commited on
Commit
91b947d
1 Parent(s): 89b6453

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: microsoft/resnet-50
7
+ widget:
8
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
9
+ example_title: Tiger
10
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
11
+ example_title: Teapot
12
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
13
+ example_title: Palace
14
+ ---
15
+
16
+ # Model Trained Using AutoTrain
17
+
18
+ - Problem type: Image Classification
19
+
20
+ ## Validation Metrics
21
+ loss: 0.7891022562980652
22
+
23
+ f1: 0.0
24
+
25
+ precision: 0.0
26
+
27
+ recall: 0.0
28
+
29
+ auc: 0.0
30
+
31
+ accuracy: 0.0
checkpoint-1/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "cat",
25
+ "1": "dog"
26
+ },
27
+ "label2id": {
28
+ "cat": 0,
29
+ "dog": 1
30
+ },
31
+ "layer_type": "bottleneck",
32
+ "model_type": "resnet",
33
+ "num_channels": 3,
34
+ "out_features": [
35
+ "stage4"
36
+ ],
37
+ "out_indices": [
38
+ 4
39
+ ],
40
+ "problem_type": "single_label_classification",
41
+ "stage_names": [
42
+ "stem",
43
+ "stage1",
44
+ "stage2",
45
+ "stage3",
46
+ "stage4"
47
+ ],
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.44.1"
50
+ }
checkpoint-1/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb30c708636585ede4dff01e7cbf794edbb02c14fbd2ddafa62089e891bf78c8
3
+ size 94302952
checkpoint-1/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26ec3d631b3b7c813b152b20587f70af491e1aca4140e45815c5c144d7b5b952
3
+ size 188228026
checkpoint-1/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:169e13dfd9cc96ff159e4838c8e5db890a5f5a0780b19eeff1e0508cf253c299
3
+ size 13990
checkpoint-1/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a4322f26ea0a721a75cad99a3be7c263f63a603c913c7a935fc64da9f1ccf64
3
+ size 1064
checkpoint-1/trainer_state.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7891022562980652,
3
+ "best_model_checkpoint": "autotrain-1w87h-lmg7u/checkpoint-1",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 5.87813138961792,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.7012,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.0,
21
+ "eval_auc": 0.0,
22
+ "eval_f1": 0.0,
23
+ "eval_loss": 0.7891022562980652,
24
+ "eval_precision": 0.0,
25
+ "eval_recall": 0.0,
26
+ "eval_runtime": 0.2815,
27
+ "eval_samples_per_second": 7.105,
28
+ "eval_steps_per_second": 3.552,
29
+ "step": 1
30
+ }
31
+ ],
32
+ "logging_steps": 1,
33
+ "max_steps": 3,
34
+ "num_input_tokens_seen": 0,
35
+ "num_train_epochs": 3,
36
+ "save_steps": 500,
37
+ "stateful_callbacks": {
38
+ "EarlyStoppingCallback": {
39
+ "args": {
40
+ "early_stopping_patience": 5,
41
+ "early_stopping_threshold": 0.01
42
+ },
43
+ "attributes": {
44
+ "early_stopping_patience_counter": 0
45
+ }
46
+ },
47
+ "TrainerControl": {
48
+ "args": {
49
+ "should_epoch_stop": false,
50
+ "should_evaluate": false,
51
+ "should_log": false,
52
+ "should_save": true,
53
+ "should_training_stop": false
54
+ },
55
+ "attributes": {}
56
+ }
57
+ },
58
+ "total_flos": 169883227422720.0,
59
+ "train_batch_size": 8,
60
+ "trial_name": null,
61
+ "trial_params": null
62
+ }
checkpoint-1/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fc36f36e3441d1e6e29cc0dd848977b6e7c9fa3136942d9c0c9c3c047ccacf9
3
+ size 5240
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "cat",
25
+ "1": "dog"
26
+ },
27
+ "label2id": {
28
+ "cat": 0,
29
+ "dog": 1
30
+ },
31
+ "layer_type": "bottleneck",
32
+ "model_type": "resnet",
33
+ "num_channels": 3,
34
+ "out_features": [
35
+ "stage4"
36
+ ],
37
+ "out_indices": [
38
+ 4
39
+ ],
40
+ "problem_type": "single_label_classification",
41
+ "stage_names": [
42
+ "stem",
43
+ "stage1",
44
+ "stage2",
45
+ "stage3",
46
+ "stage4"
47
+ ],
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.44.1"
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb30c708636585ede4dff01e7cbf794edbb02c14fbd2ddafa62089e891bf78c8
3
+ size 94302952
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
runs/Sep01_22-29-19_r-lucidigi-fuk-gvbha9ov-9cd45-6i3wc/events.out.tfevents.1725229761.r-lucidigi-fuk-gvbha9ov-9cd45-6i3wc.113.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:264698846b01bfafee70d12ecb0df68116a608997be92cf0578aa1f495cac1c8
3
- size 5049
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cf297afa3a25d4005668a061a693803d6be2b4fd76b2ab4a5ae2dbfc76a4728
3
+ size 7545
runs/Sep01_22-29-19_r-lucidigi-fuk-gvbha9ov-9cd45-6i3wc/events.out.tfevents.1725229774.r-lucidigi-fuk-gvbha9ov-9cd45-6i3wc.113.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d8a3d32ccb467e1222a12c6f3bc2805778b5fc746559600732073a1fb87931c
3
+ size 597
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fc36f36e3441d1e6e29cc0dd848977b6e7c9fa3136942d9c0c9c3c047ccacf9
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-1w87h-lmg7u/autotrain-data",
3
+ "model": "microsoft/resnet-50",
4
+ "username": "lucidigi",
5
+ "lr": 5e-05,
6
+ "epochs": 3,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "logging_steps": -1,
18
+ "project_name": "autotrain-1w87h-lmg7u",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "image_column": "autotrain_image",
25
+ "target_column": "autotrain_label",
26
+ "log": "tensorboard",
27
+ "early_stopping_patience": 5,
28
+ "early_stopping_threshold": 0.01
29
+ }