sunfu-chou commited on
Commit
2117313
1 Parent(s): aba021c

detr-resnet-50-finetuned-real-boat-dataset 1 epoch

Browse files
Files changed (5) hide show
  1. README.md +55 -0
  2. config.json +69 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +45 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: zhuchi76/detr-resnet-50-finetuned-boat-dataset
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - boat_dataset
8
+ model-index:
9
+ - name: detr-resnet-50-finetuned-real-boat-dataset
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-real-boat-dataset
17
+
18
+ This model is a fine-tuned version of [zhuchi76/detr-resnet-50-finetuned-boat-dataset](https://huggingface.co/zhuchi76/detr-resnet-50-finetuned-boat-dataset) on the boat_dataset 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: 1e-05
38
+ - train_batch_size: 16
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: 1
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.39.3
53
+ - Pytorch 2.2.2+cu121
54
+ - Datasets 2.18.0
55
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "zhuchi76/detr-resnet-50-finetuned-boat-dataset",
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": "BallonBoat",
34
+ "1": "BigBoat",
35
+ "2": "Boat",
36
+ "3": "JetSki",
37
+ "4": "Katamaran",
38
+ "5": "SailBoat",
39
+ "6": "SmallBoat",
40
+ "7": "SpeedBoat",
41
+ "8": "WAM_V"
42
+ },
43
+ "init_std": 0.02,
44
+ "init_xavier_std": 1.0,
45
+ "is_encoder_decoder": true,
46
+ "label2id": {
47
+ "BallonBoat": 0,
48
+ "BigBoat": 1,
49
+ "Boat": 2,
50
+ "JetSki": 3,
51
+ "Katamaran": 4,
52
+ "SailBoat": 5,
53
+ "SmallBoat": 6,
54
+ "SpeedBoat": 7,
55
+ "WAM_V": 8
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.39.3",
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:de7e47dbcd0760846e31250fe9fe2cf7e285ec46427d44b39838a3a6bc5a3d65
3
+ size 166503056
preprocessor_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
25
+ "do_rescale": true,
26
+ "do_resize": true,
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": 1333,
43
+ "shortest_edge": 800
44
+ }
45
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6f806b6aa2abcc351d8b288019bb50ad9f56525ffe437871c131540f77d809e
3
+ size 4920