Upload folder using huggingface_hub
Browse files- README.md +67 -0
- checkpoint-3375/config.json +61 -0
- checkpoint-3375/model.safetensors +3 -0
- checkpoint-3375/optimizer.pt +3 -0
- checkpoint-3375/preprocessor_config.json +44 -0
- checkpoint-3375/rng_state.pth +3 -0
- checkpoint-3375/scheduler.pt +3 -0
- checkpoint-3375/trainer_state.json +0 -0
- checkpoint-3375/training_args.bin +3 -0
- config.json +61 -0
- model.safetensors +3 -0
- preprocessor_config.json +44 -0
- runs/May13_17-25-50_r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd/events.out.tfevents.1715621150.r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd.79.0 +2 -2
- runs/May13_17-25-50_r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd/events.out.tfevents.1715624231.r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd.79.1 +3 -0
- training_args.bin +3 -0
- training_params.json +28 -0
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- object-detection
|
6 |
+
- vision
|
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 |
+
datasets:
|
15 |
+
- cppe-5
|
16 |
+
---
|
17 |
+
|
18 |
+
# Model Trained Using AutoTrain
|
19 |
+
|
20 |
+
- Problem type: Object Detection
|
21 |
+
|
22 |
+
## Validation Metrics
|
23 |
+
loss: 1.1950929164886475
|
24 |
+
|
25 |
+
map: 0.3186
|
26 |
+
|
27 |
+
map_50: 0.638
|
28 |
+
|
29 |
+
map_75: 0.2701
|
30 |
+
|
31 |
+
map_small: 0.1709
|
32 |
+
|
33 |
+
map_medium: 0.2412
|
34 |
+
|
35 |
+
map_large: 0.4688
|
36 |
+
|
37 |
+
mar_1: 0.2876
|
38 |
+
|
39 |
+
mar_10: 0.4874
|
40 |
+
|
41 |
+
mar_100: 0.4997
|
42 |
+
|
43 |
+
mar_small: 0.2254
|
44 |
+
|
45 |
+
mar_medium: 0.4182
|
46 |
+
|
47 |
+
mar_large: 0.6428
|
48 |
+
|
49 |
+
map_Coverall: 0.5105
|
50 |
+
|
51 |
+
mar_100_Coverall: 0.6889
|
52 |
+
|
53 |
+
map_Face_Shield: 0.2804
|
54 |
+
|
55 |
+
mar_100_Face_Shield: 0.5765
|
56 |
+
|
57 |
+
map_Gloves: 0.2836
|
58 |
+
|
59 |
+
mar_100_Gloves: 0.4246
|
60 |
+
|
61 |
+
map_Goggles: 0.1154
|
62 |
+
|
63 |
+
mar_100_Goggles: 0.3375
|
64 |
+
|
65 |
+
map_Mask: 0.4031
|
66 |
+
|
67 |
+
mar_100_Mask: 0.4712
|
checkpoint-3375/config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-101",
|
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": "resnet101",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": null,
|
13 |
+
"bbox_cost": 5,
|
14 |
+
"bbox_loss_coefficient": 5,
|
15 |
+
"class_cost": 1,
|
16 |
+
"classifier_dropout": 0.0,
|
17 |
+
"d_model": 256,
|
18 |
+
"decoder_attention_heads": 8,
|
19 |
+
"decoder_ffn_dim": 2048,
|
20 |
+
"decoder_layerdrop": 0.0,
|
21 |
+
"decoder_layers": 6,
|
22 |
+
"dice_loss_coefficient": 1,
|
23 |
+
"dilation": false,
|
24 |
+
"dropout": 0.1,
|
25 |
+
"encoder_attention_heads": 8,
|
26 |
+
"encoder_ffn_dim": 2048,
|
27 |
+
"encoder_layerdrop": 0.0,
|
28 |
+
"encoder_layers": 6,
|
29 |
+
"eos_coefficient": 0.1,
|
30 |
+
"giou_cost": 2,
|
31 |
+
"giou_loss_coefficient": 2,
|
32 |
+
"id2label": {
|
33 |
+
"0": "Coverall",
|
34 |
+
"1": "Face_Shield",
|
35 |
+
"2": "Gloves",
|
36 |
+
"3": "Goggles",
|
37 |
+
"4": "Mask"
|
38 |
+
},
|
39 |
+
"init_std": 0.02,
|
40 |
+
"init_xavier_std": 1.0,
|
41 |
+
"is_encoder_decoder": true,
|
42 |
+
"label2id": {
|
43 |
+
"Coverall": 0,
|
44 |
+
"Face_Shield": 1,
|
45 |
+
"Gloves": 2,
|
46 |
+
"Goggles": 3,
|
47 |
+
"Mask": 4
|
48 |
+
},
|
49 |
+
"mask_loss_coefficient": 1,
|
50 |
+
"max_position_embeddings": 1024,
|
51 |
+
"model_type": "detr",
|
52 |
+
"num_channels": 3,
|
53 |
+
"num_hidden_layers": 6,
|
54 |
+
"num_queries": 100,
|
55 |
+
"position_embedding_type": "sine",
|
56 |
+
"scale_embedding": false,
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.40.1",
|
59 |
+
"use_pretrained_backbone": true,
|
60 |
+
"use_timm_backbone": true
|
61 |
+
}
|
checkpoint-3375/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:321ee652190d8bd1352422d64ff938f2375c7e622a434925d5fab3a3d08278ce
|
3 |
+
size 242708664
|
checkpoint-3375/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec930408b78882bd4e661c4c724bd69481b9d000c19b73c5318e15865a3a4a64
|
3 |
+
size 482063492
|
checkpoint-3375/preprocessor_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"annotations",
|
5 |
+
"return_segmentation_masks",
|
6 |
+
"masks_path",
|
7 |
+
"do_resize",
|
8 |
+
"size",
|
9 |
+
"resample",
|
10 |
+
"do_rescale",
|
11 |
+
"rescale_factor",
|
12 |
+
"do_normalize",
|
13 |
+
"do_convert_annotations",
|
14 |
+
"image_mean",
|
15 |
+
"image_std",
|
16 |
+
"do_pad",
|
17 |
+
"format",
|
18 |
+
"return_tensors",
|
19 |
+
"data_format",
|
20 |
+
"input_data_format"
|
21 |
+
],
|
22 |
+
"do_convert_annotations": true,
|
23 |
+
"do_normalize": true,
|
24 |
+
"do_pad": false,
|
25 |
+
"do_rescale": true,
|
26 |
+
"do_resize": false,
|
27 |
+
"format": "coco_detection",
|
28 |
+
"image_mean": [
|
29 |
+
0.485,
|
30 |
+
0.456,
|
31 |
+
0.406
|
32 |
+
],
|
33 |
+
"image_processor_type": "DetrImageProcessor",
|
34 |
+
"image_std": [
|
35 |
+
0.229,
|
36 |
+
0.224,
|
37 |
+
0.225
|
38 |
+
],
|
39 |
+
"resample": 2,
|
40 |
+
"rescale_factor": 0.00392156862745098,
|
41 |
+
"size": {
|
42 |
+
"longest_edge": 600
|
43 |
+
}
|
44 |
+
}
|
checkpoint-3375/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c88976d43145daa2f3e98ab120c4e650009014c602cfdfe3bd2ed374cbbd489f
|
3 |
+
size 14244
|
checkpoint-3375/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f38c6a59897e9b6debab603f62b577bac5bb7ae9b893c2489954c1f5c4398347
|
3 |
+
size 1064
|
checkpoint-3375/trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-3375/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6a90380128622ae4df901176299ea30f87dd6b30f8f558197bd22162640e6f0
|
3 |
+
size 5048
|
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/detr-resnet-101",
|
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": "resnet101",
|
11 |
+
"backbone_config": null,
|
12 |
+
"backbone_kwargs": null,
|
13 |
+
"bbox_cost": 5,
|
14 |
+
"bbox_loss_coefficient": 5,
|
15 |
+
"class_cost": 1,
|
16 |
+
"classifier_dropout": 0.0,
|
17 |
+
"d_model": 256,
|
18 |
+
"decoder_attention_heads": 8,
|
19 |
+
"decoder_ffn_dim": 2048,
|
20 |
+
"decoder_layerdrop": 0.0,
|
21 |
+
"decoder_layers": 6,
|
22 |
+
"dice_loss_coefficient": 1,
|
23 |
+
"dilation": false,
|
24 |
+
"dropout": 0.1,
|
25 |
+
"encoder_attention_heads": 8,
|
26 |
+
"encoder_ffn_dim": 2048,
|
27 |
+
"encoder_layerdrop": 0.0,
|
28 |
+
"encoder_layers": 6,
|
29 |
+
"eos_coefficient": 0.1,
|
30 |
+
"giou_cost": 2,
|
31 |
+
"giou_loss_coefficient": 2,
|
32 |
+
"id2label": {
|
33 |
+
"0": "Coverall",
|
34 |
+
"1": "Face_Shield",
|
35 |
+
"2": "Gloves",
|
36 |
+
"3": "Goggles",
|
37 |
+
"4": "Mask"
|
38 |
+
},
|
39 |
+
"init_std": 0.02,
|
40 |
+
"init_xavier_std": 1.0,
|
41 |
+
"is_encoder_decoder": true,
|
42 |
+
"label2id": {
|
43 |
+
"Coverall": 0,
|
44 |
+
"Face_Shield": 1,
|
45 |
+
"Gloves": 2,
|
46 |
+
"Goggles": 3,
|
47 |
+
"Mask": 4
|
48 |
+
},
|
49 |
+
"mask_loss_coefficient": 1,
|
50 |
+
"max_position_embeddings": 1024,
|
51 |
+
"model_type": "detr",
|
52 |
+
"num_channels": 3,
|
53 |
+
"num_hidden_layers": 6,
|
54 |
+
"num_queries": 100,
|
55 |
+
"position_embedding_type": "sine",
|
56 |
+
"scale_embedding": false,
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.40.1",
|
59 |
+
"use_pretrained_backbone": true,
|
60 |
+
"use_timm_backbone": true
|
61 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:321ee652190d8bd1352422d64ff938f2375c7e622a434925d5fab3a3d08278ce
|
3 |
+
size 242708664
|
preprocessor_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"annotations",
|
5 |
+
"return_segmentation_masks",
|
6 |
+
"masks_path",
|
7 |
+
"do_resize",
|
8 |
+
"size",
|
9 |
+
"resample",
|
10 |
+
"do_rescale",
|
11 |
+
"rescale_factor",
|
12 |
+
"do_normalize",
|
13 |
+
"do_convert_annotations",
|
14 |
+
"image_mean",
|
15 |
+
"image_std",
|
16 |
+
"do_pad",
|
17 |
+
"format",
|
18 |
+
"return_tensors",
|
19 |
+
"data_format",
|
20 |
+
"input_data_format"
|
21 |
+
],
|
22 |
+
"do_convert_annotations": true,
|
23 |
+
"do_normalize": true,
|
24 |
+
"do_pad": false,
|
25 |
+
"do_rescale": true,
|
26 |
+
"do_resize": false,
|
27 |
+
"format": "coco_detection",
|
28 |
+
"image_mean": [
|
29 |
+
0.485,
|
30 |
+
0.456,
|
31 |
+
0.406
|
32 |
+
],
|
33 |
+
"image_processor_type": "DetrImageProcessor",
|
34 |
+
"image_std": [
|
35 |
+
0.229,
|
36 |
+
0.224,
|
37 |
+
0.225
|
38 |
+
],
|
39 |
+
"resample": 2,
|
40 |
+
"rescale_factor": 0.00392156862745098,
|
41 |
+
"size": {
|
42 |
+
"longest_edge": 600
|
43 |
+
}
|
44 |
+
}
|
runs/May13_17-25-50_r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd/events.out.tfevents.1715621150.r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd.79.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:5eced7b3b95c9b1f216fda7d3b0ddd34a7e3c56193a2cf5c24cb756097609f0d
|
3 |
+
size 840349
|
runs/May13_17-25-50_r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd/events.out.tfevents.1715624231.r-abhishek-autotrain-j5ajy2rq-d06b9-2l1fd.79.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c082476ac3be656d89160ae7b7f79d8a1030351f10859194215dce8244a9c22
|
3 |
+
size 1548
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6a90380128622ae4df901176299ea30f87dd6b30f8f558197bd22162640e6f0
|
3 |
+
size 5048
|
training_params.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "cppe-5",
|
3 |
+
"model": "facebook/detr-resnet-101",
|
4 |
+
"username": "abhishek",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 75,
|
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-w77ed-kah7g",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"push_to_hub": true,
|
23 |
+
"evaluation_strategy": "epoch",
|
24 |
+
"image_column": "image",
|
25 |
+
"objects_column": "objects",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"image_square_size": 600
|
28 |
+
}
|