abhishek HF staff commited on
Commit
a02f302
1 Parent(s): 3617fec

Upload folder using huggingface_hub

Browse files
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: 0.8912756443023682
24
+
25
+ map: 0.4887
26
+
27
+ map_50: 0.8353
28
+
29
+ map_75: 0.473
30
+
31
+ map_small: 0.4091
32
+
33
+ map_medium: 0.3492
34
+
35
+ map_large: 0.679
36
+
37
+ mar_1: 0.3601
38
+
39
+ mar_10: 0.6056
40
+
41
+ mar_100: 0.6186
42
+
43
+ mar_small: 0.4686
44
+
45
+ mar_medium: 0.4922
46
+
47
+ mar_large: 0.7882
48
+
49
+ map_Coverall: 0.7
50
+
51
+ mar_100_Coverall: 0.7689
52
+
53
+ map_Face_Shield: 0.5987
54
+
55
+ mar_100_Face_Shield: 0.7294
56
+
57
+ map_Gloves: 0.3918
58
+
59
+ mar_100_Gloves: 0.523
60
+
61
+ map_Goggles: 0.3115
62
+
63
+ mar_100_Goggles: 0.5312
64
+
65
+ map_Mask: 0.4418
66
+
67
+ mar_100_Mask: 0.5404
checkpoint-12125/config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 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-12125/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68a2f00df263d369790b884981e74de81934fe7dec57d7478c19dff55fcc915b
3
+ size 166498936
checkpoint-12125/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d74b459133754a8588fc2948ed7da5e41c255cb04184c98760d4598ab04605a3
3
+ size 330499962
checkpoint-12125/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-12125/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d2de7e3ff876f7d1bd19873a1db16dbcedc2fadabb2c5ef255860c82edff4f3
3
+ size 14244
checkpoint-12125/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a529c498a75bd3f3ba652afc890d861ef5061d215d0eadfb3e7320173a7aa5f5
3
+ size 1064
checkpoint-12125/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-12125/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abea16ed31afb753f3f4a4a4998b162e51d4698b51b1fca4e68d9d729f644ed5
3
+ size 4984
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 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:68a2f00df263d369790b884981e74de81934fe7dec57d7478c19dff55fcc915b
3
+ size 166498936
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/May14_11-36-40_beast/events.out.tfevents.1715679400.beast.349211.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:15d1256391e18aa83edcef2d1e2e34f2d1abe32bace162e7f3f363a6cd0da8a3
3
- size 2544027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:797a8d3b23428bc9aef693ef25376359a6f6754fc1230b03464008daee52de0f
3
+ size 2788777
runs/May14_11-36-40_beast/events.out.tfevents.1715684003.beast.349211.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fbe79e40b482b7474dcc1ca63cdbe4cfbd8c87acff12b0b72fc7f9ef27627e4
3
+ size 1548
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abea16ed31afb753f3f4a4a4998b162e51d4698b51b1fca4e68d9d729f644ed5
3
+ size 4984
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "cppe-5",
3
+ "model": "facebook/detr-resnet-50",
4
+ "username": "abhishek",
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.0001,
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-obj-det-cppe5-1",
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
+ "early_stopping_patience": 50,
29
+ "early_stopping_threshold": 0.001
30
+ }