Upload folder using huggingface_hub
Browse files- README.md +48 -0
- checkpoint-3500/config.json +69 -0
- checkpoint-3500/model.safetensors +3 -0
- checkpoint-3500/optimizer.pt +3 -0
- checkpoint-3500/preprocessor_config.json +25 -0
- checkpoint-3500/rng_state.pth +3 -0
- checkpoint-3500/scheduler.pt +3 -0
- checkpoint-3500/trainer_state.json +0 -0
- checkpoint-3500/training_args.bin +3 -0
- config.json +69 -0
- model.safetensors +3 -0
- preprocessor_config.json +25 -0
- runs/Jul12_06-23-30_5946069435cf/events.out.tfevents.1720765411.5946069435cf.295361.0 +2 -2
- runs/Jul12_06-23-30_5946069435cf/events.out.tfevents.1720771579.5946069435cf.295361.1 +3 -0
- training_args.bin +3 -0
- training_params.json +30 -0
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- object-detection
|
6 |
+
- vision
|
7 |
+
base_model: facebook/detr-resnet-50
|
8 |
+
widget:
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
10 |
+
example_title: Tiger
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
12 |
+
example_title: Teapot
|
13 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
14 |
+
example_title: Palace
|
15 |
+
datasets:
|
16 |
+
- Charles95/object-detection-examples
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Object Detection
|
22 |
+
|
23 |
+
## Validation Metrics
|
24 |
+
loss: 1.1211919784545898
|
25 |
+
|
26 |
+
map: 0.3566
|
27 |
+
|
28 |
+
map_50: 0.7058
|
29 |
+
|
30 |
+
map_75: 0.3194
|
31 |
+
|
32 |
+
map_small: -1.0
|
33 |
+
|
34 |
+
map_medium: 0.2108
|
35 |
+
|
36 |
+
map_large: 0.4073
|
37 |
+
|
38 |
+
mar_1: 0.3081
|
39 |
+
|
40 |
+
mar_10: 0.5415
|
41 |
+
|
42 |
+
mar_100: 0.5725
|
43 |
+
|
44 |
+
mar_small: -1.0
|
45 |
+
|
46 |
+
mar_medium: 0.3701
|
47 |
+
|
48 |
+
mar_large: 0.6539
|
checkpoint-3500/config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetrForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": {
|
13 |
+
"in_chans": 3,
|
14 |
+
"out_indices": [
|
15 |
+
1,
|
16 |
+
2,
|
17 |
+
3,
|
18 |
+
4
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"bbox_cost": 5,
|
22 |
+
"bbox_loss_coefficient": 5,
|
23 |
+
"class_cost": 1,
|
24 |
+
"classifier_dropout": 0.0,
|
25 |
+
"d_model": 256,
|
26 |
+
"decoder_attention_heads": 8,
|
27 |
+
"decoder_ffn_dim": 2048,
|
28 |
+
"decoder_layerdrop": 0.0,
|
29 |
+
"decoder_layers": 6,
|
30 |
+
"dice_loss_coefficient": 1,
|
31 |
+
"dilation": false,
|
32 |
+
"dropout": 0.1,
|
33 |
+
"encoder_attention_heads": 8,
|
34 |
+
"encoder_ffn_dim": 2048,
|
35 |
+
"encoder_layerdrop": 0.0,
|
36 |
+
"encoder_layers": 6,
|
37 |
+
"eos_coefficient": 0.1,
|
38 |
+
"giou_cost": 2,
|
39 |
+
"giou_loss_coefficient": 2,
|
40 |
+
"id2label": {
|
41 |
+
"0": "Coverall",
|
42 |
+
"1": "Face_Shield",
|
43 |
+
"2": "Gloves",
|
44 |
+
"3": "Goggles",
|
45 |
+
"4": "Mask"
|
46 |
+
},
|
47 |
+
"init_std": 0.02,
|
48 |
+
"init_xavier_std": 1.0,
|
49 |
+
"is_encoder_decoder": true,
|
50 |
+
"label2id": {
|
51 |
+
"Coverall": 0,
|
52 |
+
"Face_Shield": 1,
|
53 |
+
"Gloves": 2,
|
54 |
+
"Goggles": 3,
|
55 |
+
"Mask": 4
|
56 |
+
},
|
57 |
+
"mask_loss_coefficient": 1,
|
58 |
+
"max_position_embeddings": 1024,
|
59 |
+
"model_type": "detr",
|
60 |
+
"num_channels": 3,
|
61 |
+
"num_hidden_layers": 6,
|
62 |
+
"num_queries": 100,
|
63 |
+
"position_embedding_type": "sine",
|
64 |
+
"scale_embedding": false,
|
65 |
+
"torch_dtype": "float32",
|
66 |
+
"transformers_version": "4.42.2",
|
67 |
+
"use_pretrained_backbone": true,
|
68 |
+
"use_timm_backbone": true
|
69 |
+
}
|
checkpoint-3500/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90e3dd8d7eab466303110d386c2df39c5a4e22e06d092ff578f4583952883be6
|
3 |
+
size 166498936
|
checkpoint-3500/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81ea9b8741a58455fa545d12d463eef35bc99724da8be1ec46ea5e5254359c0c
|
3 |
+
size 330499962
|
checkpoint-3500/preprocessor_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_annotations": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_pad": false,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": false,
|
7 |
+
"format": "coco_detection",
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_processor_type": "DetrImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"pad_size": null,
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"longest_edge": 1333
|
24 |
+
}
|
25 |
+
}
|
checkpoint-3500/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9e30b1a0a1314fcddc07adb87d867156e549df94762baba7fd20ee81f87cfd7
|
3 |
+
size 14244
|
checkpoint-3500/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbc9b61468d17b2a59677983087fc4f5f98d3419b06073057d4908006eac2a04
|
3 |
+
size 1064
|
checkpoint-3500/trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-3500/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25bc566ee9580fd19de1921ba05e3889bbcf6b873bc88e877264872675484f2c
|
3 |
+
size 5112
|
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetrForObjectDetection"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "resnet50",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": {
|
13 |
+
"in_chans": 3,
|
14 |
+
"out_indices": [
|
15 |
+
1,
|
16 |
+
2,
|
17 |
+
3,
|
18 |
+
4
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"bbox_cost": 5,
|
22 |
+
"bbox_loss_coefficient": 5,
|
23 |
+
"class_cost": 1,
|
24 |
+
"classifier_dropout": 0.0,
|
25 |
+
"d_model": 256,
|
26 |
+
"decoder_attention_heads": 8,
|
27 |
+
"decoder_ffn_dim": 2048,
|
28 |
+
"decoder_layerdrop": 0.0,
|
29 |
+
"decoder_layers": 6,
|
30 |
+
"dice_loss_coefficient": 1,
|
31 |
+
"dilation": false,
|
32 |
+
"dropout": 0.1,
|
33 |
+
"encoder_attention_heads": 8,
|
34 |
+
"encoder_ffn_dim": 2048,
|
35 |
+
"encoder_layerdrop": 0.0,
|
36 |
+
"encoder_layers": 6,
|
37 |
+
"eos_coefficient": 0.1,
|
38 |
+
"giou_cost": 2,
|
39 |
+
"giou_loss_coefficient": 2,
|
40 |
+
"id2label": {
|
41 |
+
"0": "Coverall",
|
42 |
+
"1": "Face_Shield",
|
43 |
+
"2": "Gloves",
|
44 |
+
"3": "Goggles",
|
45 |
+
"4": "Mask"
|
46 |
+
},
|
47 |
+
"init_std": 0.02,
|
48 |
+
"init_xavier_std": 1.0,
|
49 |
+
"is_encoder_decoder": true,
|
50 |
+
"label2id": {
|
51 |
+
"Coverall": 0,
|
52 |
+
"Face_Shield": 1,
|
53 |
+
"Gloves": 2,
|
54 |
+
"Goggles": 3,
|
55 |
+
"Mask": 4
|
56 |
+
},
|
57 |
+
"mask_loss_coefficient": 1,
|
58 |
+
"max_position_embeddings": 1024,
|
59 |
+
"model_type": "detr",
|
60 |
+
"num_channels": 3,
|
61 |
+
"num_hidden_layers": 6,
|
62 |
+
"num_queries": 100,
|
63 |
+
"position_embedding_type": "sine",
|
64 |
+
"scale_embedding": false,
|
65 |
+
"torch_dtype": "float32",
|
66 |
+
"transformers_version": "4.42.2",
|
67 |
+
"use_pretrained_backbone": true,
|
68 |
+
"use_timm_backbone": true
|
69 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90e3dd8d7eab466303110d386c2df39c5a4e22e06d092ff578f4583952883be6
|
3 |
+
size 166498936
|
preprocessor_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_annotations": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_pad": false,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": false,
|
7 |
+
"format": "coco_detection",
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_processor_type": "DetrImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"pad_size": null,
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"longest_edge": 1333
|
24 |
+
}
|
25 |
+
}
|
runs/Jul12_06-23-30_5946069435cf/events.out.tfevents.1720765411.5946069435cf.295361.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97fceff01c07b1ca5fc9de6ae376b8c1c9fe894ba2b713717b3c539a792aa13c
|
3 |
+
size 868400
|
runs/Jul12_06-23-30_5946069435cf/events.out.tfevents.1720771579.5946069435cf.295361.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bb159cd6a1dc199f3c440132f5ed19b58578b98965663b49850745c84183017
|
3 |
+
size 1548
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25bc566ee9580fd19de1921ba05e3889bbcf6b873bc88e877264872675484f2c
|
3 |
+
size 5112
|
training_params.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "Charles95/object-detection-examples",
|
3 |
+
"model": "facebook/detr-resnet-50",
|
4 |
+
"username": "Charles95",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 100,
|
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": "test",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "autotrain-detr-cppe-v5",
|
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": "image",
|
25 |
+
"objects_column": "objects",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"image_square_size": 1333,
|
28 |
+
"early_stopping_patience": 5,
|
29 |
+
"early_stopping_threshold": 0.01
|
30 |
+
}
|