buaa42wxy commited on
Commit
afbdaca
·
1 Parent(s): f22e4e4

Upload ConvNextForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +51 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "best_metric_model.pth",
3
+ "architectures": [
4
+ "ConvNextForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 9,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 96,
16
+ 192,
17
+ 384,
18
+ 768
19
+ ],
20
+ "id2label": {
21
+ "0": "Negative",
22
+ "1": "Positive"
23
+ },
24
+ "image_size": 224,
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "Negative": 0,
28
+ "Positive": 1
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "layer_scale_init_value": 1e-06,
32
+ "model_type": "convnext",
33
+ "num_channels": 4,
34
+ "num_stages": 4,
35
+ "out_features": [
36
+ "stage4"
37
+ ],
38
+ "out_indices": [
39
+ 4
40
+ ],
41
+ "patch_size": 4,
42
+ "stage_names": [
43
+ "stem",
44
+ "stage1",
45
+ "stage2",
46
+ "stage3",
47
+ "stage4"
48
+ ],
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.29.2"
51
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30790b026250cefc87fc20ce07d0c3eae1bab97cf6aebf5ea01785dac5162d7d
3
+ size 111352613