kiselyovd commited on
Commit
47775eb
·
verified ·
1 Parent(s): c656b45

fix: add id2label/label2id for binary segmentation (background/tumor)

Browse files
Files changed (1) hide show
  1. config.json +10 -1
config.json CHANGED
@@ -65,5 +65,14 @@
65
  2,
66
  2
67
  ],
68
- "transformers_version": "5.5.4"
 
 
 
 
 
 
 
 
 
69
  }
 
65
  2,
66
  2
67
  ],
68
+ "transformers_version": "5.5.4",
69
+ "num_labels": 2,
70
+ "id2label": {
71
+ "0": "background",
72
+ "1": "tumor"
73
+ },
74
+ "label2id": {
75
+ "background": 0,
76
+ "tumor": 1
77
+ }
78
  }