Upload 6 files
Browse files- config.json +61 -0
- detr_model.onnx +3 -0
- model.safetensors +3 -0
- model_weights.pth +3 -0
- preprocessor_config.json +26 -0
- training_args.bin +3 -0
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": {
|
| 13 |
+
"in_chans": 3,
|
| 14 |
+
"out_indices": [
|
| 15 |
+
1,
|
| 16 |
+
2,
|
| 17 |
+
3,
|
| 18 |
+
4
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"bbox_cost": 5,
|
| 22 |
+
"bbox_loss_coefficient": 5,
|
| 23 |
+
"class_cost": 1,
|
| 24 |
+
"classifier_dropout": 0.0,
|
| 25 |
+
"d_model": 256,
|
| 26 |
+
"decoder_attention_heads": 8,
|
| 27 |
+
"decoder_ffn_dim": 2048,
|
| 28 |
+
"decoder_layerdrop": 0.0,
|
| 29 |
+
"decoder_layers": 6,
|
| 30 |
+
"dice_loss_coefficient": 1,
|
| 31 |
+
"dilation": false,
|
| 32 |
+
"dropout": 0.1,
|
| 33 |
+
"encoder_attention_heads": 8,
|
| 34 |
+
"encoder_ffn_dim": 2048,
|
| 35 |
+
"encoder_layerdrop": 0.0,
|
| 36 |
+
"encoder_layers": 6,
|
| 37 |
+
"eos_coefficient": 0.1,
|
| 38 |
+
"giou_cost": 2,
|
| 39 |
+
"giou_loss_coefficient": 2,
|
| 40 |
+
"id2label": {
|
| 41 |
+
"0": "LABEL_0"
|
| 42 |
+
},
|
| 43 |
+
"init_std": 0.02,
|
| 44 |
+
"init_xavier_std": 1.0,
|
| 45 |
+
"is_encoder_decoder": true,
|
| 46 |
+
"label2id": {
|
| 47 |
+
"LABEL_0": 0
|
| 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.47.0",
|
| 59 |
+
"use_pretrained_backbone": true,
|
| 60 |
+
"use_timm_backbone": true
|
| 61 |
+
}
|
detr_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ce6c8fb9da700b291162c194f2881346306f79477aab40cfff84d2d87ad21a2
|
| 3 |
+
size 166885466
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67a4ab2f28b45dd5a513ba9629a6e184d323a0792a38cef9aa4bbe63ba2c0617
|
| 3 |
+
size 166494824
|
model_weights.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5331b04e98a8d666e707e45096004f7d4f08807c488da56e7ba68862327caea2
|
| 3 |
+
size 166641234
|
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": 640
|
| 25 |
+
}
|
| 26 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17a6c7cc006c4c8689701d2ecd5a837389a74b49f09d45d3bde56f2055b81db6
|
| 3 |
+
size 5304
|