AliMansourX commited on
Commit
d58c147
·
verified ·
1 Parent(s): b3a5fb6

Upload preprocessor_config.json

Browse files

A purposed fix for this error on Kaggle
OSError: shreydan/CheXpert-5-convnextv2-tiny-384 does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/shreydan/CheXpert-5-convnextv2-tiny-384/tree/main'for available files.

Files changed (1) hide show
  1. preprocessor_config.json +56 -0
preprocessor_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/convnextv2-tiny-22k-384",
3
+ "architectures": [
4
+ "ConvNextV2ForImageClassification"
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": "Atelectasis",
22
+ "1": "Cardiomegaly",
23
+ "2": "Consolidation",
24
+ "3": "Edema",
25
+ "4": "Pleural Effusion"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "label2id": {
30
+ "Atelectasis": 0,
31
+ "Cardiomegaly": 1,
32
+ "Consolidation": 2,
33
+ "Edema": 3,
34
+ "Pleural Effusion": 4
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "model_type": "convnextv2",
38
+ "num_channels": 3,
39
+ "num_stages": 4,
40
+ "out_features": [
41
+ "stage4"
42
+ ],
43
+ "out_indices": [
44
+ 4
45
+ ],
46
+ "patch_size": 4,
47
+ "stage_names": [
48
+ "stem",
49
+ "stage1",
50
+ "stage2",
51
+ "stage3",
52
+ "stage4"
53
+ ],
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.41.0"
56
+ }