theoberva commited on
Commit
21eec15
·
1 Parent(s): b6a5ebd

Upload Swinv2ForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +60 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "theoberva/UBCO-Model-512",
3
+ "architectures": [
4
+ "Swinv2ForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 128,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
19
+ "id2label": {
20
+ "0": "HGSC",
21
+ "1": "LGSC",
22
+ "2": "EC",
23
+ "3": "CC",
24
+ "4": "MC"
25
+ },
26
+ "image_size": 256,
27
+ "initializer_range": 0.02,
28
+ "label2id": {
29
+ "CC": 3,
30
+ "EC": 2,
31
+ "HGSC": 0,
32
+ "LGSC": 1,
33
+ "MC": 4
34
+ },
35
+ "layer_norm_eps": 1e-05,
36
+ "mlp_ratio": 4.0,
37
+ "model_type": "swinv2",
38
+ "num_channels": 3,
39
+ "num_heads": [
40
+ 4,
41
+ 8,
42
+ 16,
43
+ 32
44
+ ],
45
+ "num_layers": 4,
46
+ "patch_size": 4,
47
+ "path_norm": true,
48
+ "pretrained_window_sizes": [
49
+ 0,
50
+ 0,
51
+ 0,
52
+ 0
53
+ ],
54
+ "problem_type": "single_label_classification",
55
+ "qkv_bias": true,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.32.1",
58
+ "use_absolute_embeddings": false,
59
+ "window_size": 8
60
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af5864c988ba7ef1d890997ae3ca68027fdd149a5c8c8f822ee590f0ae23d539
3
+ size 347764846