End of training
Browse files- README.md +53 -0
- config.json +150 -0
- model.safetensors +3 -0
- preprocessor_config.json +25 -0
- runs/Apr21_22-58-38_85d82df8c675/events.out.tfevents.1713740320.85d82df8c675.33703.0 +3 -0
- runs/Apr21_23-02-53_85d82df8c675/events.out.tfevents.1713740575.85d82df8c675.33703.1 +3 -0
- runs/Apr21_23-03-49_85d82df8c675/events.out.tfevents.1713740631.85d82df8c675.33703.2 +3 -0
- runs/Apr21_23-05-54_85d82df8c675/events.out.tfevents.1713740755.85d82df8c675.43228.0 +3 -0
- runs/Apr21_23-06-38_85d82df8c675/events.out.tfevents.1713740800.85d82df8c675.43228.1 +3 -0
- runs/Apr21_23-07-01_85d82df8c675/events.out.tfevents.1713740823.85d82df8c675.43228.2 +3 -0
- runs/Apr21_23-08-06_85d82df8c675/events.out.tfevents.1713740888.85d82df8c675.44082.0 +3 -0
- runs/Apr21_23-09-41_85d82df8c675/events.out.tfevents.1713740984.85d82df8c675.44581.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: facebook/detr-resnet-50
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: detr
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# detr
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) on an unknown dataset.
|
| 17 |
+
|
| 18 |
+
## Model description
|
| 19 |
+
|
| 20 |
+
More information needed
|
| 21 |
+
|
| 22 |
+
## Intended uses & limitations
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Training and evaluation data
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training procedure
|
| 31 |
+
|
| 32 |
+
### Training hyperparameters
|
| 33 |
+
|
| 34 |
+
The following hyperparameters were used during training:
|
| 35 |
+
- learning_rate: 0.0002
|
| 36 |
+
- train_batch_size: 8
|
| 37 |
+
- eval_batch_size: 8
|
| 38 |
+
- seed: 42
|
| 39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 40 |
+
- lr_scheduler_type: linear
|
| 41 |
+
- num_epochs: 1
|
| 42 |
+
- mixed_precision_training: Native AMP
|
| 43 |
+
|
| 44 |
+
### Training results
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
### Framework versions
|
| 49 |
+
|
| 50 |
+
- Transformers 4.38.2
|
| 51 |
+
- Pytorch 2.2.1+cu121
|
| 52 |
+
- Datasets 2.19.0
|
| 53 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": null,
|
| 11 |
+
"backbone_config": {
|
| 12 |
+
"_name_or_path": "",
|
| 13 |
+
"add_cross_attention": false,
|
| 14 |
+
"architectures": null,
|
| 15 |
+
"bad_words_ids": null,
|
| 16 |
+
"begin_suppress_tokens": null,
|
| 17 |
+
"bos_token_id": null,
|
| 18 |
+
"chunk_size_feed_forward": 0,
|
| 19 |
+
"cross_attention_hidden_size": null,
|
| 20 |
+
"decoder_start_token_id": null,
|
| 21 |
+
"depths": [
|
| 22 |
+
3,
|
| 23 |
+
4,
|
| 24 |
+
6,
|
| 25 |
+
3
|
| 26 |
+
],
|
| 27 |
+
"diversity_penalty": 0.0,
|
| 28 |
+
"do_sample": false,
|
| 29 |
+
"downsample_in_bottleneck": false,
|
| 30 |
+
"downsample_in_first_stage": false,
|
| 31 |
+
"early_stopping": false,
|
| 32 |
+
"embedding_size": 64,
|
| 33 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 34 |
+
"eos_token_id": null,
|
| 35 |
+
"exponential_decay_length_penalty": null,
|
| 36 |
+
"finetuning_task": null,
|
| 37 |
+
"forced_bos_token_id": null,
|
| 38 |
+
"forced_eos_token_id": null,
|
| 39 |
+
"hidden_act": "relu",
|
| 40 |
+
"hidden_sizes": [
|
| 41 |
+
256,
|
| 42 |
+
512,
|
| 43 |
+
1024,
|
| 44 |
+
2048
|
| 45 |
+
],
|
| 46 |
+
"id2label": {
|
| 47 |
+
"0": "LABEL_0",
|
| 48 |
+
"1": "LABEL_1"
|
| 49 |
+
},
|
| 50 |
+
"is_decoder": false,
|
| 51 |
+
"is_encoder_decoder": false,
|
| 52 |
+
"label2id": {
|
| 53 |
+
"LABEL_0": 0,
|
| 54 |
+
"LABEL_1": 1
|
| 55 |
+
},
|
| 56 |
+
"layer_type": "bottleneck",
|
| 57 |
+
"length_penalty": 1.0,
|
| 58 |
+
"max_length": 20,
|
| 59 |
+
"min_length": 0,
|
| 60 |
+
"model_type": "resnet",
|
| 61 |
+
"no_repeat_ngram_size": 0,
|
| 62 |
+
"num_beam_groups": 1,
|
| 63 |
+
"num_beams": 1,
|
| 64 |
+
"num_channels": 3,
|
| 65 |
+
"num_return_sequences": 1,
|
| 66 |
+
"out_features": [
|
| 67 |
+
"stage4"
|
| 68 |
+
],
|
| 69 |
+
"out_indices": [
|
| 70 |
+
4
|
| 71 |
+
],
|
| 72 |
+
"output_attentions": false,
|
| 73 |
+
"output_hidden_states": false,
|
| 74 |
+
"output_scores": false,
|
| 75 |
+
"pad_token_id": null,
|
| 76 |
+
"prefix": null,
|
| 77 |
+
"problem_type": null,
|
| 78 |
+
"pruned_heads": {},
|
| 79 |
+
"remove_invalid_values": false,
|
| 80 |
+
"repetition_penalty": 1.0,
|
| 81 |
+
"return_dict": true,
|
| 82 |
+
"return_dict_in_generate": false,
|
| 83 |
+
"sep_token_id": null,
|
| 84 |
+
"stage_names": [
|
| 85 |
+
"stem",
|
| 86 |
+
"stage1",
|
| 87 |
+
"stage2",
|
| 88 |
+
"stage3",
|
| 89 |
+
"stage4"
|
| 90 |
+
],
|
| 91 |
+
"suppress_tokens": null,
|
| 92 |
+
"task_specific_params": null,
|
| 93 |
+
"temperature": 1.0,
|
| 94 |
+
"tf_legacy_loss": false,
|
| 95 |
+
"tie_encoder_decoder": false,
|
| 96 |
+
"tie_word_embeddings": true,
|
| 97 |
+
"tokenizer_class": null,
|
| 98 |
+
"top_k": 50,
|
| 99 |
+
"top_p": 1.0,
|
| 100 |
+
"torch_dtype": null,
|
| 101 |
+
"torchscript": false,
|
| 102 |
+
"typical_p": 1.0,
|
| 103 |
+
"use_bfloat16": false
|
| 104 |
+
},
|
| 105 |
+
"backbone_kwargs": null,
|
| 106 |
+
"bbox_cost": 5,
|
| 107 |
+
"bbox_loss_coefficient": 5,
|
| 108 |
+
"class_cost": 1,
|
| 109 |
+
"d_model": 256,
|
| 110 |
+
"decoder_attention_heads": 8,
|
| 111 |
+
"decoder_ffn_dim": 2048,
|
| 112 |
+
"decoder_layerdrop": 0.0,
|
| 113 |
+
"decoder_layers": 6,
|
| 114 |
+
"dice_loss_coefficient": 1,
|
| 115 |
+
"dilation": null,
|
| 116 |
+
"dropout": 0.1,
|
| 117 |
+
"encoder_attention_heads": 8,
|
| 118 |
+
"encoder_ffn_dim": 2048,
|
| 119 |
+
"encoder_layerdrop": 0.0,
|
| 120 |
+
"encoder_layers": 6,
|
| 121 |
+
"eos_coefficient": 0.1,
|
| 122 |
+
"giou_cost": 2,
|
| 123 |
+
"giou_loss_coefficient": 2,
|
| 124 |
+
"id2label": {
|
| 125 |
+
"0": "accessories",
|
| 126 |
+
"1": "bags",
|
| 127 |
+
"2": "clothing",
|
| 128 |
+
"3": "shoes"
|
| 129 |
+
},
|
| 130 |
+
"init_std": 0.02,
|
| 131 |
+
"init_xavier_std": 1.0,
|
| 132 |
+
"is_encoder_decoder": true,
|
| 133 |
+
"label2id": {
|
| 134 |
+
"accessories": 0,
|
| 135 |
+
"bags": 1,
|
| 136 |
+
"clothing": 2,
|
| 137 |
+
"shoes": 3
|
| 138 |
+
},
|
| 139 |
+
"mask_loss_coefficient": 1,
|
| 140 |
+
"model_type": "detr",
|
| 141 |
+
"num_channels": 3,
|
| 142 |
+
"num_hidden_layers": 6,
|
| 143 |
+
"num_queries": 100,
|
| 144 |
+
"position_embedding_type": "sine",
|
| 145 |
+
"scale_embedding": false,
|
| 146 |
+
"torch_dtype": "float32",
|
| 147 |
+
"transformers_version": "4.38.2",
|
| 148 |
+
"use_pretrained_backbone": null,
|
| 149 |
+
"use_timm_backbone": false
|
| 150 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ba04844a5b27af0aa5e8fc6dbff428b1de2aac77b6c15d24a98a917823ef3ea
|
| 3 |
+
size 166506812
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_annotations": true,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_pad": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"format": "coco_detection",
|
| 8 |
+
"image_mean": [
|
| 9 |
+
0.485,
|
| 10 |
+
0.456,
|
| 11 |
+
0.406
|
| 12 |
+
],
|
| 13 |
+
"image_processor_type": "DetrImageProcessor",
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.229,
|
| 16 |
+
0.224,
|
| 17 |
+
0.225
|
| 18 |
+
],
|
| 19 |
+
"resample": 2,
|
| 20 |
+
"rescale_factor": 0.00392156862745098,
|
| 21 |
+
"size": {
|
| 22 |
+
"longest_edge": 1333,
|
| 23 |
+
"shortest_edge": 800
|
| 24 |
+
}
|
| 25 |
+
}
|
runs/Apr21_22-58-38_85d82df8c675/events.out.tfevents.1713740320.85d82df8c675.33703.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f40b29af50a00011a9ac9d8b3e972461e6806fac0e5b7c606508af0ae9458b0
|
| 3 |
+
size 7380
|
runs/Apr21_23-02-53_85d82df8c675/events.out.tfevents.1713740575.85d82df8c675.33703.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73f6aa1e0d008419688ca6186cd0505a471d4e03c88cc82943302d1a49bb5149
|
| 3 |
+
size 4184
|
runs/Apr21_23-03-49_85d82df8c675/events.out.tfevents.1713740631.85d82df8c675.33703.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc234b251a9a7325e644e73aab95e9b1f33ec79ef8520ee82da806db511963c2
|
| 3 |
+
size 4184
|
runs/Apr21_23-05-54_85d82df8c675/events.out.tfevents.1713740755.85d82df8c675.43228.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39293f52e07570ffe18653e1b70d6502b2b9deb4d593309bb9842b4e7033bde3
|
| 3 |
+
size 4184
|
runs/Apr21_23-06-38_85d82df8c675/events.out.tfevents.1713740800.85d82df8c675.43228.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20655aa8ca984b8050c2888829e90d0c18f4efce0de955c39193a5d04ddde8fe
|
| 3 |
+
size 4184
|
runs/Apr21_23-07-01_85d82df8c675/events.out.tfevents.1713740823.85d82df8c675.43228.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad402719b2deb4b6c89e88533a820efe437d5c1adaebfd658cf9bd12d6f22077
|
| 3 |
+
size 4184
|
runs/Apr21_23-08-06_85d82df8c675/events.out.tfevents.1713740888.85d82df8c675.44082.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e06787f3199bf43087b867ba29b4cc7037297c7990171ca766680b5cb9043848
|
| 3 |
+
size 4184
|
runs/Apr21_23-09-41_85d82df8c675/events.out.tfevents.1713740984.85d82df8c675.44581.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:199d91cb8e3468cf5f37274b166019a0564e2e70b17dcee8666778ded942cfb5
|
| 3 |
+
size 7733
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69ffbc00c2c23d93a806582c91064a149760d92062004c16b8804a3183f3479d
|
| 3 |
+
size 4856
|