Upload folder using huggingface_hub
Browse files- checkpoint-94/config.json +52 -0
- checkpoint-94/model.safetensors +3 -0
- checkpoint-94/optimizer.pt +3 -0
- checkpoint-94/preprocessor_config.json +22 -0
- checkpoint-94/rng_state.pth +3 -0
- checkpoint-94/scheduler.pt +3 -0
- checkpoint-94/trainer_state.json +43 -0
- checkpoint-94/training_args.bin +3 -0
- config.json +52 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
checkpoint-94/config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
| 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": "battery",
|
| 13 |
+
"1": "biological",
|
| 14 |
+
"2": "brown-glass",
|
| 15 |
+
"3": "cardboard",
|
| 16 |
+
"4": "clothes",
|
| 17 |
+
"5": "green-glass",
|
| 18 |
+
"6": "metal",
|
| 19 |
+
"7": "paper",
|
| 20 |
+
"8": "plastic",
|
| 21 |
+
"9": "shoes",
|
| 22 |
+
"10": "trash",
|
| 23 |
+
"11": "white-glass"
|
| 24 |
+
},
|
| 25 |
+
"image_size": 224,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 3072,
|
| 28 |
+
"label2id": {
|
| 29 |
+
"battery": 0,
|
| 30 |
+
"biological": 1,
|
| 31 |
+
"brown-glass": 2,
|
| 32 |
+
"cardboard": 3,
|
| 33 |
+
"clothes": 4,
|
| 34 |
+
"green-glass": 5,
|
| 35 |
+
"metal": 6,
|
| 36 |
+
"paper": 7,
|
| 37 |
+
"plastic": 8,
|
| 38 |
+
"shoes": 9,
|
| 39 |
+
"trash": 10,
|
| 40 |
+
"white-glass": 11
|
| 41 |
+
},
|
| 42 |
+
"layer_norm_eps": 1e-12,
|
| 43 |
+
"model_type": "vit",
|
| 44 |
+
"num_attention_heads": 12,
|
| 45 |
+
"num_channels": 3,
|
| 46 |
+
"num_hidden_layers": 12,
|
| 47 |
+
"patch_size": 16,
|
| 48 |
+
"problem_type": "single_label_classification",
|
| 49 |
+
"qkv_bias": true,
|
| 50 |
+
"torch_dtype": "float32",
|
| 51 |
+
"transformers_version": "4.44.0"
|
| 52 |
+
}
|
checkpoint-94/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dd8fe7131b97c1a831dda21343aa9c31cf015568ad90a080bc55a1193d58352
|
| 3 |
+
size 343254736
|
checkpoint-94/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:385cfa1b05e964eb15668e1a0062c5da78bbb9d70210d5014326ca3db168f9d2
|
| 3 |
+
size 686630330
|
checkpoint-94/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": 224,
|
| 20 |
+
"width": 224
|
| 21 |
+
}
|
| 22 |
+
}
|
checkpoint-94/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a253f0d3509121df37ff0e184448c046b41f2bf6c42bd11ef9aac8235c027adc
|
| 3 |
+
size 14244
|
checkpoint-94/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:952c048af27b452b53b48975e3ffc1cbcd7d539c2cd8c24a9c04e2938db49d17
|
| 3 |
+
size 1064
|
checkpoint-94/trainer_state.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 2.4650940895080566,
|
| 3 |
+
"best_model_checkpoint": "garbage_types_image_detection/checkpoint-94",
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 94,
|
| 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 |
+
"eval_accuracy": 0.1185,
|
| 14 |
+
"eval_loss": 2.4650940895080566,
|
| 15 |
+
"eval_model_preparation_time": 0.005,
|
| 16 |
+
"eval_runtime": 38.603,
|
| 17 |
+
"eval_samples_per_second": 103.619,
|
| 18 |
+
"eval_steps_per_second": 3.238,
|
| 19 |
+
"step": 94
|
| 20 |
+
}
|
| 21 |
+
],
|
| 22 |
+
"logging_steps": 500,
|
| 23 |
+
"max_steps": 94,
|
| 24 |
+
"num_input_tokens_seen": 0,
|
| 25 |
+
"num_train_epochs": 1,
|
| 26 |
+
"save_steps": 500,
|
| 27 |
+
"stateful_callbacks": {
|
| 28 |
+
"TrainerControl": {
|
| 29 |
+
"args": {
|
| 30 |
+
"should_epoch_stop": false,
|
| 31 |
+
"should_evaluate": false,
|
| 32 |
+
"should_log": false,
|
| 33 |
+
"should_save": true,
|
| 34 |
+
"should_training_stop": true
|
| 35 |
+
},
|
| 36 |
+
"attributes": {}
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"total_flos": 4.64993609859072e+17,
|
| 40 |
+
"train_batch_size": 64,
|
| 41 |
+
"trial_name": null,
|
| 42 |
+
"trial_params": null
|
| 43 |
+
}
|
checkpoint-94/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f29d01e98b321d6bc09b19af4a6fa0a48a4bb82d4b942c03e76fd51e739844ef
|
| 3 |
+
size 5112
|
config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
| 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": "battery",
|
| 13 |
+
"1": "biological",
|
| 14 |
+
"2": "brown-glass",
|
| 15 |
+
"3": "cardboard",
|
| 16 |
+
"4": "clothes",
|
| 17 |
+
"5": "green-glass",
|
| 18 |
+
"6": "metal",
|
| 19 |
+
"7": "paper",
|
| 20 |
+
"8": "plastic",
|
| 21 |
+
"9": "shoes",
|
| 22 |
+
"10": "trash",
|
| 23 |
+
"11": "white-glass"
|
| 24 |
+
},
|
| 25 |
+
"image_size": 224,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 3072,
|
| 28 |
+
"label2id": {
|
| 29 |
+
"battery": 0,
|
| 30 |
+
"biological": 1,
|
| 31 |
+
"brown-glass": 2,
|
| 32 |
+
"cardboard": 3,
|
| 33 |
+
"clothes": 4,
|
| 34 |
+
"green-glass": 5,
|
| 35 |
+
"metal": 6,
|
| 36 |
+
"paper": 7,
|
| 37 |
+
"plastic": 8,
|
| 38 |
+
"shoes": 9,
|
| 39 |
+
"trash": 10,
|
| 40 |
+
"white-glass": 11
|
| 41 |
+
},
|
| 42 |
+
"layer_norm_eps": 1e-12,
|
| 43 |
+
"model_type": "vit",
|
| 44 |
+
"num_attention_heads": 12,
|
| 45 |
+
"num_channels": 3,
|
| 46 |
+
"num_hidden_layers": 12,
|
| 47 |
+
"patch_size": 16,
|
| 48 |
+
"problem_type": "single_label_classification",
|
| 49 |
+
"qkv_bias": true,
|
| 50 |
+
"torch_dtype": "float32",
|
| 51 |
+
"transformers_version": "4.44.0"
|
| 52 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dd8fe7131b97c1a831dda21343aa9c31cf015568ad90a080bc55a1193d58352
|
| 3 |
+
size 343254736
|
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": 224,
|
| 20 |
+
"width": 224
|
| 21 |
+
}
|
| 22 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f29d01e98b321d6bc09b19af4a6fa0a48a4bb82d4b942c03e76fd51e739844ef
|
| 3 |
+
size 5112
|