Aryan-401 commited on
Commit
c7357e6
1 Parent(s): 59fc69d

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3475022315979004
24
+
25
+ map: 0.2746
26
+
27
+ map_50: 0.5638
28
+
29
+ map_75: 0.2333
30
+
31
+ map_small: 0.1345
32
+
33
+ map_medium: 0.2275
34
+
35
+ map_large: 0.4482
36
+
37
+ mar_1: 0.2715
38
+
39
+ mar_10: 0.4663
40
+
41
+ mar_100: 0.49
42
+
43
+ mar_small: 0.1839
44
+
45
+ mar_medium: 0.4158
46
+
47
+ mar_large: 0.6686
checkpoint-2625/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-2625/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a96a05639f050bac07b5c25cb93d7bca3f79d78435b5b462ae41204f8059b56
3
+ size 166498936
checkpoint-2625/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87e7153a0514f19312fd61cf0802eea1d0df4083ec96b104b8d5a70ea1ee09e0
3
+ size 330499962
checkpoint-2625/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-2625/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff3a66c3644b5cc2a7bb1e9d63d3e4b9d5cf8955b9148369b60899a60e066729
3
+ size 14244
checkpoint-2625/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82daf5884068e48e27e919e7d710290d7cf4748513aaf94a20b3e0a9714bee61
3
+ size 1064
checkpoint-2625/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2625/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85b9a4b6e40faa96ec2333d12415aca3c1ced29a29f4232ddc18650c20cd79c
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:6a96a05639f050bac07b5c25cb93d7bca3f79d78435b5b462ae41204f8059b56
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/May22_12-56-22_ad8f4737b93e/events.out.tfevents.1716382583.ad8f4737b93e.207.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:73730de38e5b6a833413be3443c89fbd3a729b3860956095e09e58a0f56d6eec
3
- size 593033
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b99a876aa1e28575b501e6a8953d7fa616ccee3e426fd5fc8d2cf2fd297d7587
3
+ size 645470
runs/May22_12-56-22_ad8f4737b93e/events.out.tfevents.1716385201.ad8f4737b93e.207.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bdda14522d0dbef2ebdc598da41e0016172752eb9bf5a10e40404b949a2e90e
3
+ size 1548
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85b9a4b6e40faa96ec2333d12415aca3c1ced29a29f4232ddc18650c20cd79c
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": "Aryan-401",
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": 69,
15
+ "train_split": "train",
16
+ "valid_split": "test",
17
+ "logging_steps": -1,
18
+ "project_name": "detr-resnet-50-cppe5",
19
+ "auto_find_batch_size": true,
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": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }