iraqigold commited on
Commit
435f28b
·
verified ·
1 Parent(s): 28adae0

Upload modality_classifier_metadata.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. modality_classifier_metadata.json +62 -0
modality_classifier_metadata.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "data_dir": null,
4
+ "output_dir": "/content/training_runs/modality_classifier",
5
+ "hf_token": "***redacted***",
6
+ "hf_dataset_repo": "iraqigold/Medical-Modality-Dataset",
7
+ "hf_model_repo": "iraqigold/Medical-Modality-Classifier",
8
+ "download_hf": false,
9
+ "upload_to_hf": true,
10
+ "backbone": "resnet18",
11
+ "epochs": 15,
12
+ "batch_size": 32,
13
+ "num_workers": 0,
14
+ "lr": 0.0001,
15
+ "weight_decay": 0.0001,
16
+ "val_ratio": 0.15,
17
+ "test_ratio": 0.1,
18
+ "seed": 42,
19
+ "save_every": 3,
20
+ "upload_every_epochs": 3,
21
+ "resume_training": true,
22
+ "force_balance": true
23
+ },
24
+ "classes": [
25
+ "CT",
26
+ "MRI",
27
+ "US",
28
+ "XRAY"
29
+ ],
30
+ "class_mapping": {
31
+ "CT": 0,
32
+ "MRI": 1,
33
+ "US": 2,
34
+ "XRAY": 3
35
+ },
36
+ "train_samples": 6000,
37
+ "val_samples": 1200,
38
+ "test_samples": 800,
39
+ "best_val_accuracy": 0.9991666666666666,
40
+ "test_metrics": {
41
+ "test_loss": 0.0007467886476661079,
42
+ "test_accuracy": 1.0,
43
+ "per_class_accuracy": {
44
+ "CT": 1.0,
45
+ "MRI": 1.0,
46
+ "US": 1.0,
47
+ "XRAY": 1.0
48
+ },
49
+ "per_class_correct": {
50
+ "CT": 206,
51
+ "MRI": 201,
52
+ "US": 178,
53
+ "XRAY": 215
54
+ },
55
+ "per_class_total": {
56
+ "CT": 206,
57
+ "MRI": 201,
58
+ "US": 178,
59
+ "XRAY": 215
60
+ }
61
+ }
62
+ }