End of training
Browse files- README.md +77 -0
- config.json +62 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/detr-resnet-50
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: raccoon_detector
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# raccoon_detector
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.4696
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 1e-05
|
39 |
+
- train_batch_size: 4
|
40 |
+
- eval_batch_size: 4
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 20
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
49 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
50 |
+
| No log | 1.0 | 40 | 1.2814 |
|
51 |
+
| No log | 2.0 | 80 | 1.1424 |
|
52 |
+
| No log | 3.0 | 120 | 0.9869 |
|
53 |
+
| No log | 4.0 | 160 | 0.9042 |
|
54 |
+
| No log | 5.0 | 200 | 0.7036 |
|
55 |
+
| No log | 6.0 | 240 | 0.7302 |
|
56 |
+
| No log | 7.0 | 280 | 0.6320 |
|
57 |
+
| No log | 8.0 | 320 | 0.5814 |
|
58 |
+
| No log | 9.0 | 360 | 0.5468 |
|
59 |
+
| No log | 10.0 | 400 | 0.5419 |
|
60 |
+
| No log | 11.0 | 440 | 0.5130 |
|
61 |
+
| No log | 12.0 | 480 | 0.5220 |
|
62 |
+
| 0.8899 | 13.0 | 520 | 0.5162 |
|
63 |
+
| 0.8899 | 14.0 | 560 | 0.5061 |
|
64 |
+
| 0.8899 | 15.0 | 600 | 0.5066 |
|
65 |
+
| 0.8899 | 16.0 | 640 | 0.4785 |
|
66 |
+
| 0.8899 | 17.0 | 680 | 0.4817 |
|
67 |
+
| 0.8899 | 18.0 | 720 | 0.4782 |
|
68 |
+
| 0.8899 | 19.0 | 760 | 0.4873 |
|
69 |
+
| 0.8899 | 20.0 | 800 | 0.4696 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.51.3
|
75 |
+
- Pytorch 2.6.0+cu124
|
76 |
+
- Datasets 3.5.0
|
77 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "relu",
|
4 |
+
"architectures": [
|
5 |
+
"DetrForObjectDetection"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"auxiliary_loss": false,
|
9 |
+
"backbone": "resnet50",
|
10 |
+
"backbone_config": null,
|
11 |
+
"backbone_kwargs": {
|
12 |
+
"in_chans": 3,
|
13 |
+
"out_indices": [
|
14 |
+
1,
|
15 |
+
2,
|
16 |
+
3,
|
17 |
+
4
|
18 |
+
]
|
19 |
+
},
|
20 |
+
"bbox_cost": 5,
|
21 |
+
"bbox_loss_coefficient": 5,
|
22 |
+
"class_cost": 1,
|
23 |
+
"classifier_dropout": 0.0,
|
24 |
+
"d_model": 256,
|
25 |
+
"decoder_attention_heads": 8,
|
26 |
+
"decoder_ffn_dim": 2048,
|
27 |
+
"decoder_layerdrop": 0.0,
|
28 |
+
"decoder_layers": 6,
|
29 |
+
"dice_loss_coefficient": 1,
|
30 |
+
"dilation": false,
|
31 |
+
"dropout": 0.1,
|
32 |
+
"encoder_attention_heads": 8,
|
33 |
+
"encoder_ffn_dim": 2048,
|
34 |
+
"encoder_layerdrop": 0.0,
|
35 |
+
"encoder_layers": 6,
|
36 |
+
"eos_coefficient": 0.1,
|
37 |
+
"giou_cost": 2,
|
38 |
+
"giou_loss_coefficient": 2,
|
39 |
+
"id2label": {
|
40 |
+
"0": "raccoon",
|
41 |
+
"1": "no_object"
|
42 |
+
},
|
43 |
+
"init_std": 0.02,
|
44 |
+
"init_xavier_std": 1.0,
|
45 |
+
"is_encoder_decoder": true,
|
46 |
+
"label2id": {
|
47 |
+
"no_object": 1,
|
48 |
+
"raccoon": 0
|
49 |
+
},
|
50 |
+
"mask_loss_coefficient": 1,
|
51 |
+
"max_position_embeddings": 1024,
|
52 |
+
"model_type": "detr",
|
53 |
+
"num_channels": 3,
|
54 |
+
"num_hidden_layers": 6,
|
55 |
+
"num_queries": 100,
|
56 |
+
"position_embedding_type": "sine",
|
57 |
+
"scale_embedding": false,
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.51.3",
|
60 |
+
"use_pretrained_backbone": true,
|
61 |
+
"use_timm_backbone": true
|
62 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86b10348e3e7cc47aea4d6a917e4a0c31f8731a2c7376c91dd4c6e9da986f16c
|
3 |
+
size 166494824
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"pad_size": null,
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"longest_edge": 1333,
|
24 |
+
"shortest_edge": 800
|
25 |
+
}
|
26 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23f1aa579e54a9f131dc4f9f537a2b3e6c68735ea3570c06f637108837604d0b
|
3 |
+
size 5240
|