SJChaudhuri commited on
Commit
6a941f9
·
verified ·
1 Parent(s): be393b4

adding config file

Browse files
Files changed (1) hide show
  1. config.json +28 -0
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "VisionTransformer",
3
+ "num_layers": 12,
4
+ "hidden_size": 768,
5
+ "num_heads": 12,
6
+ "mlp_dim": 3072,
7
+ "num_classes": 5,
8
+ "input_image_size": [
9
+ 224,
10
+ 224
11
+ ],
12
+ "patch_size": 16,
13
+ "vocab_size": 30000,
14
+ "embedding_dropout": 0.1,
15
+ "attention_dropout": 0.1,
16
+ "dropout": 0.1,
17
+ "num_epochs": 50,
18
+ "batch_size": 32,
19
+ "learning_rate": 0.001,
20
+ "optimizer": "AdamW",
21
+ "class_mapping": {
22
+ "RG-0": "a_noDR",
23
+ "RG-1": "b_mildDR",
24
+ "RG-2": "c_moderateDR",
25
+ "RG-3": "d_severeDR",
26
+ "RG-4": "e_proDR"
27
+ }
28
+ }