Fantast commited on
Commit
6837a3e
1 Parent(s): 635d914

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. preprocessor_config.json +18 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Fantast/yolos-small-finetuned-for-seal",
3
+ "architectures": [
4
+ "YolosForObjectDetection"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_loss": false,
8
+ "bbox_cost": 5,
9
+ "bbox_loss_coefficient": 5,
10
+ "class_cost": 1,
11
+ "eos_coefficient": 0.1,
12
+ "giou_cost": 2,
13
+ "giou_loss_coefficient": 2,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.0,
16
+ "hidden_size": 384,
17
+ "id2label": {
18
+ "0": "LABEL_0"
19
+ },
20
+ "image_size": [
21
+ 512,
22
+ 864
23
+ ],
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 1536,
26
+ "label2id": {
27
+ "LABEL_0": 0
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "model_type": "yolos",
31
+ "num_attention_heads": 6,
32
+ "num_channels": 3,
33
+ "num_detection_tokens": 100,
34
+ "num_hidden_layers": 12,
35
+ "patch_size": 16,
36
+ "qkv_bias": true,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.26.1",
39
+ "use_mid_position_embeddings": true
40
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "YolosFeatureExtractor",
5
+ "format": "coco_detection",
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_std": [
12
+ 0.229,
13
+ 0.224,
14
+ 0.225
15
+ ],
16
+ "max_size": 1333,
17
+ "size": 800
18
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72f10278a3f28533d38a6490646f3088ef4440140e9a5312f3b66de791c68f83
3
+ size 122669469