ztian2000 commited on
Commit
bed020a
1 Parent(s): 325f2a4

End of training

Browse files
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/detr-resnet-50
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ model-index:
9
+ - name: detr-resnet-50_finetuned_candy
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # detr-resnet-50_finetuned_candy
17
+
18
+ This model is a fine-tuned version of [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) on the imagefolder dataset.
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 0.0001
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 300
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.35.1
53
+ - Pytorch 2.1.0+cu118
54
+ - Datasets 2.14.7
55
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "bbox_cost": 5,
13
+ "bbox_loss_coefficient": 5,
14
+ "class_cost": 1,
15
+ "classifier_dropout": 0.0,
16
+ "d_model": 256,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "dice_loss_coefficient": 1,
22
+ "dilation": false,
23
+ "dropout": 0.1,
24
+ "encoder_attention_heads": 8,
25
+ "encoder_ffn_dim": 2048,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 6,
28
+ "eos_coefficient": 0.1,
29
+ "giou_cost": 2,
30
+ "giou_loss_coefficient": 2,
31
+ "id2label": {
32
+ "0": "Black_star",
33
+ "1": "Cat",
34
+ "2": "Grey_star",
35
+ "3": "Insect",
36
+ "4": "Moon",
37
+ "5": "Owl",
38
+ "6": "Unicorn_head",
39
+ "7": "Unicorn_whole"
40
+ },
41
+ "init_std": 0.02,
42
+ "init_xavier_std": 1.0,
43
+ "is_encoder_decoder": true,
44
+ "label2id": {
45
+ "Black_star": 0,
46
+ "Cat": 1,
47
+ "Grey_star": 2,
48
+ "Insect": 3,
49
+ "Moon": 4,
50
+ "Owl": 5,
51
+ "Unicorn_head": 6,
52
+ "Unicorn_whole": 7
53
+ },
54
+ "mask_loss_coefficient": 1,
55
+ "max_position_embeddings": 1024,
56
+ "model_type": "detr",
57
+ "num_channels": 3,
58
+ "num_hidden_layers": 6,
59
+ "num_queries": 100,
60
+ "position_embedding_type": "sine",
61
+ "scale_embedding": false,
62
+ "torch_dtype": "float32",
63
+ "transformers_version": "4.35.1",
64
+ "use_pretrained_backbone": true,
65
+ "use_timm_backbone": true
66
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b1ea066a80914ab2cbcb21129c104b6820b4188cc85ade64c1832f14336a2b4
3
+ size 166502020
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "format": "coco_detection",
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "DetrImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "longest_edge": 1333,
22
+ "shortest_edge": 800
23
+ }
24
+ }
runs/Nov15_09-50-39_277650e21e8d/events.out.tfevents.1700041845.277650e21e8d.3186.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:973b7d42fbe0c9d1eddc198349d91ea83c5ce78a1d497b7debf3dac3ede05281
3
+ size 7341
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5c36727844d8d7b1fc5de1ec64053d7bbe1f03717c02a33b502a02a97990a3c
3
+ size 4600