commit files to HF hub
Browse files- README.md +20 -0
- config.json +87 -0
- preprocessor_config.json +25 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1684154216.0f08f504b146.297.0 +3 -0
README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- object-detection
|
| 4 |
+
- pytorch
|
| 5 |
+
- vision
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# detr-test
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
generated from custom dataset
|
| 17 |
+
|
| 18 |
+
Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
|
| 19 |
+
|
| 20 |
+
Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
|
config.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_commit_hash": "480370a8aeeed9fc8d78837b4e94e5f936fe73f2",
|
| 3 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
| 4 |
+
"activation_dropout": 0.0,
|
| 5 |
+
"activation_function": "relu",
|
| 6 |
+
"architectures": [
|
| 7 |
+
"DetrForObjectDetection"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"auxiliary_loss": false,
|
| 11 |
+
"backbone": "resnet50",
|
| 12 |
+
"backbone_config": 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": "LABEL_0",
|
| 34 |
+
"1": "LABEL_1",
|
| 35 |
+
"2": "LABEL_2",
|
| 36 |
+
"3": "LABEL_3",
|
| 37 |
+
"4": "LABEL_4",
|
| 38 |
+
"5": "LABEL_5",
|
| 39 |
+
"6": "LABEL_6",
|
| 40 |
+
"7": "LABEL_7",
|
| 41 |
+
"8": "LABEL_8",
|
| 42 |
+
"9": "LABEL_9",
|
| 43 |
+
"10": "LABEL_10",
|
| 44 |
+
"11": "LABEL_11",
|
| 45 |
+
"12": "LABEL_12",
|
| 46 |
+
"13": "LABEL_13",
|
| 47 |
+
"14": "LABEL_14",
|
| 48 |
+
"15": "LABEL_15",
|
| 49 |
+
"16": "LABEL_16",
|
| 50 |
+
"17": "LABEL_17"
|
| 51 |
+
},
|
| 52 |
+
"init_std": 0.02,
|
| 53 |
+
"init_xavier_std": 1.0,
|
| 54 |
+
"is_encoder_decoder": true,
|
| 55 |
+
"label2id": {
|
| 56 |
+
"LABEL_0": 0,
|
| 57 |
+
"LABEL_1": 1,
|
| 58 |
+
"LABEL_10": 10,
|
| 59 |
+
"LABEL_11": 11,
|
| 60 |
+
"LABEL_12": 12,
|
| 61 |
+
"LABEL_13": 13,
|
| 62 |
+
"LABEL_14": 14,
|
| 63 |
+
"LABEL_15": 15,
|
| 64 |
+
"LABEL_16": 16,
|
| 65 |
+
"LABEL_17": 17,
|
| 66 |
+
"LABEL_2": 2,
|
| 67 |
+
"LABEL_3": 3,
|
| 68 |
+
"LABEL_4": 4,
|
| 69 |
+
"LABEL_5": 5,
|
| 70 |
+
"LABEL_6": 6,
|
| 71 |
+
"LABEL_7": 7,
|
| 72 |
+
"LABEL_8": 8,
|
| 73 |
+
"LABEL_9": 9
|
| 74 |
+
},
|
| 75 |
+
"mask_loss_coefficient": 1,
|
| 76 |
+
"max_position_embeddings": 1024,
|
| 77 |
+
"model_type": "detr",
|
| 78 |
+
"num_channels": 3,
|
| 79 |
+
"num_hidden_layers": 6,
|
| 80 |
+
"num_queries": 100,
|
| 81 |
+
"position_embedding_type": "sine",
|
| 82 |
+
"scale_embedding": false,
|
| 83 |
+
"torch_dtype": "float32",
|
| 84 |
+
"transformers_version": "4.7.0.dev0",
|
| 85 |
+
"use_pretrained_backbone": true,
|
| 86 |
+
"use_timm_backbone": true
|
| 87 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_pad": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"feature_extractor_type": "DetrFeatureExtractor",
|
| 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 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f43bc40cb61108aa40bda0c51351874d4d9b57273ba2d6a8a9f7918d28548c2
|
| 3 |
+
size 166626149
|
runs/events.out.tfevents.1684154216.0f08f504b146.297.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2efa03302e4eb67953ceb0eeaf7b07dce8654997765b3de72a89fdbe955adeae
|
| 3 |
+
size 19896
|