hs4167 commited on
Commit
da449b1
·
verified ·
1 Parent(s): 65dac2f

Add PAL4VST food artifact model (12 AI images, 1250 iters)

Browse files
Files changed (2) hide show
  1. config.json +99 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "UperNetForSemanticSegmentation"
4
+ ],
5
+ "auxiliary_channels": 256,
6
+ "auxiliary_concat_input": false,
7
+ "auxiliary_in_channels": 512,
8
+ "auxiliary_loss_weight": 0.4,
9
+ "auxiliary_num_convs": 1,
10
+ "backbone_config": {
11
+ "_name_or_path": "",
12
+ "architectures": null,
13
+ "attention_probs_dropout_prob": 0.0,
14
+ "chunk_size_feed_forward": 0,
15
+ "depths": [
16
+ 2,
17
+ 2,
18
+ 18,
19
+ 2
20
+ ],
21
+ "drop_path_rate": 0.0,
22
+ "dtype": null,
23
+ "embed_dim": 128,
24
+ "encoder_stride": 32,
25
+ "hidden_act": "gelu",
26
+ "hidden_dropout_prob": 0.0,
27
+ "hidden_size": 1024,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1"
31
+ },
32
+ "image_size": 384,
33
+ "initializer_range": 0.02,
34
+ "is_encoder_decoder": false,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1
38
+ },
39
+ "layer_norm_eps": 1e-05,
40
+ "mlp_ratio": 4.0,
41
+ "model_type": "swin",
42
+ "num_channels": 3,
43
+ "num_heads": [
44
+ 4,
45
+ 8,
46
+ 16,
47
+ 32
48
+ ],
49
+ "num_layers": 4,
50
+ "out_features": [
51
+ "stage1",
52
+ "stage2",
53
+ "stage3",
54
+ "stage4"
55
+ ],
56
+ "out_indices": [
57
+ 1,
58
+ 2,
59
+ 3,
60
+ 4
61
+ ],
62
+ "output_attentions": false,
63
+ "output_hidden_states": false,
64
+ "patch_size": 4,
65
+ "problem_type": null,
66
+ "qkv_bias": true,
67
+ "return_dict": true,
68
+ "stage_names": [
69
+ "stem",
70
+ "stage1",
71
+ "stage2",
72
+ "stage3",
73
+ "stage4"
74
+ ],
75
+ "use_absolute_embeddings": false,
76
+ "window_size": 12
77
+ },
78
+ "dtype": "float32",
79
+ "hidden_size": 512,
80
+ "id2label": {
81
+ "0": "background",
82
+ "1": "bad_region"
83
+ },
84
+ "initializer_range": 0.02,
85
+ "label2id": {
86
+ "background": 0,
87
+ "bad_region": 1
88
+ },
89
+ "loss_ignore_index": 255,
90
+ "model_type": "upernet",
91
+ "pool_scales": [
92
+ 1,
93
+ 2,
94
+ 3,
95
+ 6
96
+ ],
97
+ "transformers_version": "5.23.0",
98
+ "use_auxiliary_head": true
99
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86945a664ca8b367ee88f4141ab373d9adaba70efa976cb7ff8493d0e650ea08
3
+ size 485329216