Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Server error '504 Gateway Time-out' for url 'https://huggingface.co/api/datasets/MedOtter/NuCLS/branch/refs%2Fconvert%2Fparquet' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504
Error code:   UnexpectedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

fov_id
string
image
image
mask
image
slide_name
string
tcga_patient
string
hospital
string
fold_1
string
fold_2
string
fold_3
string
fold_4
string
fold_5
string
n_nuclei
int32
n_polyline
int32
n_rectangle
int32
height
int32
width
int32
superclass_counts
string
annotations_csv
string
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-11371_top-54469_bottom-54761_right-11671
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
32
17
15
367
378
{"tumor_any": 32}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,72,2,141,92,"72,76,79,84,91,96,106,113,126,131,134,135,137,141,141,137,136,135,131,113,106,87,79,73,72","62,43,33,26,19,14,6,2,2,6,11,15,24,45,54,71,76,78,82,92,92,88,86,67...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-11391_top-53955_bottom-54237_right-11688
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
48
29
19
355
374
{"AMBIGUOUS": 6, "nonTIL_stromal": 15, "sTIL": 25, "tumor_any": 2}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,rectangle,43,67,139,107,"43,139,139,43,43","67,67,107,107,67" 1,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,polyline,22,208,88,246,"68,88,87,86,82,67,56,35,29,24,22,2...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-11653_top-54468_bottom-54777_right-11941
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
25
12
13
388
363
{"sTIL": 1, "tumor_any": 24}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,95,102,178,176,"95,100,109,121,126,139,152,158,160,164,178,178,177,167,163,152,142,104,97,95,95","134,119,112,104,102,102,105,109,113,120,157,162,166,173,176,176,173,152,14...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-11841_top-57182_bottom-57525_right-12205
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
36
16
20
431
458
{"tumor_any": 36}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,251,1,304,75,"251,252,256,257,264,270,275,276,300,302,304,302,288,283,275,265,261,259,257,252,251","18,11,6,4,1,2,6,7,32,35,66,73,75,74,71,64,60,51,46,25,18" 1,tumor,tumor_...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-11868_top-53956_bottom-54243_right-12182
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
31
5
26
361
395
{"AMBIGUOUS": 1, "tumor_any": 30}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,101,188,168,247,"105,109,129,131,144,164,166,167,168,168,164,162,159,153,140,114,106,102,101,102,105","220,212,191,188,188,197,198,202,215,220,231,235,237,241,247,247,245,2...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-11897_top-54213_bottom-54513_right-12210
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
23
13
10
378
394
{"tumor_any": 23}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,170,290,251,378,"170,184,215,222,227,229,236,242,246,251,248,247,242,239,233,212,205,194,185,180,173,170,170","342,322,290,290,291,293,299,308,314,330,344,347,353,356,361,3...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-11917_top-54733_bottom-54999_right-12199
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
22
10
12
334
355
{"AMBIGUOUS": 9, "nonTIL_stromal": 12, "sTIL": 1}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,polyline,109,55,170,134,"165,139,132,127,124,122,109,109,111,117,120,126,148,160,167,168,170,169,168,165","105,134,133,132,125,123,85,76,70,65,64,61,55,55,61,65,74,94,1...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-7053_top-53967_bottom-54231_right-7311
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
18
7
11
332
325
{"AMBIGUOUS": 6, "nonTIL_stromal": 6, "sTIL": 6}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,lymphocyte,lymphocyte,sTIL,polyline,47,0,68,28,"49,47,49,56,62,64,68,68,64,62,56,52,49","24,15,10,0,0,1,5,17,25,28,27,25,24" 1,lymphocyte,lymphocyte,sTIL,polyline,228,119,252,149,"248,242,236,231,228,228,232,238,24...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-7807_top-53960_bottom-54248_right-8089
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
78
33
44
363
355
{"AMBIGUOUS": 8, "sTIL": 70}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,lymphocyte,lymphocyte,sTIL,polyline,2,99,29,130,"2,8,11,17,21,22,23,26,27,28,29,28,16,11,7,2","106,100,99,99,100,101,104,110,114,119,128,130,130,128,121,106" 1,unlabeled,AMBIGUOUS,AMBIGUOUS,rectangle,89,62,137,113,...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8041_top-55487_bottom-55798_right-8344
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
39
25
14
391
381
{"AMBIGUOUS": 10, "nonTIL_stromal": 9, "sTIL": 18, "tumor_any": 2}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,0,138,63,231,"52,32,27,23,13,5,2,0,0,2,4,7,11,23,50,53,57,63,63,62,60,58,57,55,52","231,231,230,224,211,197,185,173,167,154,145,140,138,138,140,141,146,167,173,183,199,207,...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8066_top-55998_bottom-56282_right-8338
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
29
12
17
357
342
{"AMBIGUOUS": 11, "nonTIL_stromal": 11, "sTIL": 1, "tumor_any": 6}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,rectangle,291,129,319,227,"291,319,319,291,291","129,129,227,227,129" 1,tumor,tumor_nonMitotic,tumor_any,rectangle,246,0,284,78,"246,284,284,246,246","0,0,78,78,0" 2,tumor,tumor_non...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8066_top-57037_bottom-57303_right-8334
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
41
21
20
334
337
{"AMBIGUOUS": 8, "nonTIL_stromal": 1, "sTIL": 32}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,lymphocyte,lymphocyte,sTIL,polyline,0,16,39,55,"6,1,0,0,1,10,34,38,39,39,35,29,13,6","55,54,50,36,31,19,16,20,24,31,40,48,55,55" 1,unlabeled,AMBIGUOUS,AMBIGUOUS,polyline,218,204,248,248,"221,219,218,218,219,222,233...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8072_top-53957_bottom-54247_right-8352
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
74
37
37
365
352
{"AMBIGUOUS": 9, "nonTIL_stromal": 1, "sTIL": 64}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,unlabeled,AMBIGUOUS,AMBIGUOUS,rectangle,207,152,280,190,"207,280,280,207,207","152,152,190,190,152" 1,lymphocyte,lymphocyte,sTIL,polyline,311,61,353,114,"350,353,353,332,328,319,314,313,311,311,313,324,333,340,350"...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8325_top-57028_bottom-57311_right-8600
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
37
27
8
356
346
{"nonTIL_stromal": 18, "sTIL": 18, "tumor_any": 1}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,polyline,2,79,36,146,"2,5,11,12,31,36,33,28,14,3,2,2","85,79,81,82,123,138,146,144,133,120,110,85" 1,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,polyline,182,122,230,...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8572_top-54214_bottom-54505_right-8877
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
52
33
19
366
384
{"AMBIGUOUS": 5, "sTIL": 40, "tumor_any": 7}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,253,195,329,263,"253,264,266,286,295,307,327,329,329,327,317,312,280,273,267,256,254,253,253","243,217,216,200,195,195,205,220,234,237,245,248,263,263,261,256,255,244,243" ...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8824_top-54717_bottom-54999_right-9126
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
16
14
2
354
380
{"tumor_any": 16}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,0,143,79,212,"3,14,21,27,65,67,77,79,79,77,74,70,66,61,48,41,4,2,0,0,2,3","149,143,143,144,157,158,166,172,177,188,196,201,205,207,212,211,195,193,182,176,157,149" 1,tumor,...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-8826_top-55990_bottom-56298_right-9123
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
34
20
14
388
374
{"nonTIL_stromal": 7, "sTIL": 13, "tumor_any": 14}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,rectangle,309,43,374,114,"309,374,374,309,309","43,43,114,114,43" 1,tumor,tumor_nonMitotic,tumor_any,rectangle,326,172,371,252,"326,369,371,328,326","172,172,252,252,172" 2,fibrobla...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-9081_top-54686_bottom-55003_right-9383
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
28
15
11
399
380
{"tumor_any": 28}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,192,135,284,198,"193,192,193,207,210,216,234,245,258,271,281,284,283,276,274,261,251,246,200,198,193","166,163,161,138,135,135,137,138,143,153,161,167,181,193,195,198,198,1...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-9095_top-57035_bottom-57304_right-9360
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
33
11
22
339
334
{"AMBIGUOUS": 4, "nonTIL_stromal": 3, "sTIL": 11, "tumor_any": 15}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,rectangle,205,148,276,223,"205,276,276,205,205","148,148,223,223,148" 1,tumor,tumor_nonMitotic,tumor_any,rectangle,91,128,131,218,"91,131,131,91,91","128,128,218,218,128" 2,tumor,tu...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-9097_top-55759_bottom-56090_right-9369
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
24
16
8
417
342
{"AMBIGUOUS": 1, "tumor_any": 23}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,8,23,69,73,"69,46,42,37,31,24,17,12,11,9,8,11,14,27,55,59,67,69","53,69,71,72,73,72,67,63,60,50,37,26,23,23,26,28,34,53" 1,tumor,tumor_nonMitotic,tumor_any,polyline,61,39,1...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-9342_top-55718_bottom-56022_right-9643
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
30
13
17
383
379
{"tumor_any": 30}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,46,100,104,154,"51,62,75,82,89,102,104,104,101,89,85,75,60,52,47,46,48,51","105,100,100,101,102,144,149,152,154,153,152,148,135,124,115,111,107,105" 1,tumor,tumor_nonMitoti...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-9603_top-57297_bottom-57579_right-9925
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
26
9
17
354
405
{"AMBIGUOUS": 1, "tumor_any": 25}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,315,9,405,104,"315,317,318,326,338,378,386,404,405,405,404,401,397,353,350,315","70,22,18,9,9,25,30,56,62,65,80,100,104,99,96,70" 1,tumor,tumor_nonMitotic,tumor_any,polylin...
TCGA-A1-A0SP-DX1_id-5ea4095addda5f8398977ebc_left-9613_top-57046_bottom-57321_right-9871
TCGA-A1-A0SP-DX1
TCGA-A1-A0SP
A1
test
train
train
train
train
29
14
15
346
324
{"AMBIGUOUS": 7, "sTIL": 1, "tumor_any": 21}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,rectangle,232,160,297,231,"232,297,297,232,232","160,160,231,231,160" 1,tumor,tumor_nonMitotic,tumor_any,rectangle,4,145,92,178,"4,92,92,4,4","145,145,178,178,145" 2,tumor,tumor_non...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-105249_top-48755_bottom-49046_right-105559
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
30
6
24
364
388
{"AMBIGUOUS": 4, "nonTIL_stromal": 2, "sTIL": 2, "tumor_any": 22}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,138,146,201,215,"155,169,175,178,193,197,201,199,198,196,174,168,163,154,147,139,138,139,140,144,147,155","154,146,146,147,162,167,186,193,197,201,215,215,213,210,203,196,1...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-105296_top-48503_bottom-48769_right-105698
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
23
3
20
332
503
{"tumor_any": 23}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,114,67,172,128,"114,114,115,116,121,137,139,145,149,157,159,167,170,172,172,170,168,165,159,119,114","117,91,86,84,79,69,67,67,69,72,75,84,94,107,114,121,124,125,128,119,11...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-105762_top-50035_bottom-50315_right-106044
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
24
12
12
350
352
{"AMBIGUOUS": 3, "nonTIL_stromal": 16, "sTIL": 5}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,unlabeled,AMBIGUOUS,AMBIGUOUS,rectangle,179,123,259,161,"179,259,259,179,179","123,123,161,161,123" 1,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,polyline,1,267,63,304,"62,37,29,23,14,7,1,1,2,3,6,9,16,24,38,61,63...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-106282_top-49267_bottom-49558_right-106557
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
58
28
30
363
344
{"AMBIGUOUS": 12, "nonTIL_stromal": 1, "sTIL": 45}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,unlabeled,AMBIGUOUS,AMBIGUOUS,rectangle,145,14,188,57,"145,188,188,145,145","14,14,57,57,14" 1,lymphocyte,lymphocyte,sTIL,polyline,260,202,298,245,"288,269,267,264,262,260,262,272,278,281,286,292,297,298,297,293,29...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-107316_top-48759_bottom-49044_right-107586
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
39
16
23
356
338
{"AMBIGUOUS": 4, "nonTIL_stromal": 6, "sTIL": 29}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,rectangle,8,138,33,218,"8,33,33,8,8","138,138,218,218,138" 1,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,rectangle,100,286,143,331,"100,143,143,100,100","286,286,331,...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-107800_top-50785_bottom-51086_right-108104
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
33
11
22
376
380
{"tumor_any": 33}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,30,2,98,65,"98,83,68,50,45,43,32,30,30,32,34,44,57,70,75,92,98","41,65,65,56,53,50,38,31,19,7,5,2,2,10,14,28,41" 1,tumor,tumor_nonMitotic,tumor_any,polyline,65,283,117,342,...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-108309_top-51578_bottom-51871_right-108638
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
22
2
20
366
411
{"AMBIGUOUS": 2, "nonTIL_stromal": 1, "tumor_any": 19}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,rectangle,216,92,269,162,"216,269,269,216,216","92,92,162,162,92" 1,tumor,tumor_nonMitotic,tumor_any,rectangle,345,32,411,82,"345,411,411,345,345","32,32,82,82,32" 2,unlabeled,AMBIG...
TCGA-A2-A04P-DX1_id-5ea4099addda5f839898164e_left-108329_top-48758_bottom-49050_right-108610
TCGA-A2-A04P-DX1
TCGA-A2-A04P
A2
train
test
train
train
train
54
13
41
365
351
{"AMBIGUOUS": 13, "nonTIL_stromal": 4, "sTIL": 37}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,fibroblast,nonTILnonMQ_stromal,nonTIL_stromal,polyline,49,219,91,266,"50,49,50,52,56,69,77,80,84,90,91,91,88,66,60,51,50","249,242,231,223,219,219,223,224,227,232,236,257,259,266,266,252,249" 1,unlabeled,AMBIGUOUS,...
TCGA-A2-A04Q-DX1_id-5ea4096cddda5f839897ac74_left-21357_top-19080_bottom-19355_right-21636
TCGA-A2-A04Q-DX1
TCGA-A2-A04Q
A2
train
test
train
train
train
45
12
33
344
349
{"AMBIGUOUS": 9, "nonTIL_stromal": 1, "other_nucleus": 1, "sTIL": 20, "tumor_any": 14}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,polyline,282,201,347,270,"287,306,312,327,334,337,342,347,347,346,344,341,331,324,316,306,293,288,285,282,283,287","231,201,201,202,203,205,208,215,217,240,250,253,263,270,270,268,2...
TCGA-A2-A04Q-DX1_id-5ea4096cddda5f839897ac74_left-21373_top-18571_bottom-18844_right-21661
TCGA-A2-A04Q-DX1
TCGA-A2-A04Q
A2
train
test
train
train
train
31
11
20
341
360
{"AMBIGUOUS": 1, "nonTIL_stromal": 1, "sTIL": 6, "tumor_any": 23}
,raw_classification,main_classification,super_classification,type,xmin,ymin,xmax,ymax,coords_x,coords_y 0,tumor,tumor_nonMitotic,tumor_any,rectangle,173,225,258,286,"173,258,258,173,173","225,225,286,286,225" 1,tumor,tumor_nonMitotic,tumor_any,rectangle,8,58,38,148,"8,38,38,8,8","58,58,148,148,58" 2,tumor,tumor_nonMito...
End of preview.

NuCLS — Corrected Single-Rater Subset

Nucleus Classification, Localization and Segmentation in breast cancer (Amgad et al., GigaScience 2022). H&E fields-of-view (FOVs) cropped from TCGA-BRCA whole-slide images at 40× (~0.2 µm/px), with per-nucleus instance + semantic masks and a 13/7/4-class cell-type scheme.

Scope — please read. This repository contains only the corrected (pathologist-QC'd) single-rater subset: 1,744 FOVs / 59,485 nuclei from 124 TCGA-BRCA slides. It does not include the uncorrected single-rater subset (2,168 FOVs) nor the multi-rater evaluation/P-truth sets (the paper's gold unbiased-evaluation tier) — both remain at the official Google Drive. The corrected subset is the QC'd tier most downstream segmentation work uses, and the only one distributed as a single stable archive.

  • Modality: Histopathology — H&E brightfield, variable-size FOVs at 40× (~0.2 µm/px)
  • Target: nucleus segmentation + classification (breast)
  • Ground truth: ready-made 3-channel instance+semantic masks (see encoding below)
  • License: CC0 1.0 Universal (the dataset is public domain; the paper text is CC BY 4.0)
  • Source: official portal · GitHub PathologyDataScience/NuCLS

⚠️ Hybrid bounding-box + segmentation dataset

Only 33.1% of nuclei (19,680 / 59,485) carry true polygon boundaries (type == 'polyline'). The other 66.7% (39,694) are bounding boxes (type == 'rectangle') rasterized as filled rectangles in the mask. The mask PNG does not distinguish them — the per-FOV type column (preserved in annotations_csv) is the only way to tell true contours from box approximations. Account for this before treating every mask object as a pixel-accurate nucleus.

Mask encoding (mask, 3-channel uint8 PNG)

Channel Meaning
ch0 (R) semantic GT_code
ch1 (G) ROI/foreground flag (1 = inside annotated FOV ROI, 0 = outside; G==1 ⇔ R>0)
ch2 (B) instance id (0 = outside ROI, 2 = ROI-filler region, 3..N = individual nuclei)

Semantic GT_code (ch0):

Code Class Code Class
0 background (outside ROI) 8 myoepithelium
1 tumor 9 apoptotic_body
2 fibroblast 10 neutrophil
3 lymphocyte 11 ductal_epithelium
4 plasma_cell 12 eosinophil
5 macrophage 99 unlabeled-nucleus
6 mitotic_figure 253 ROI-region (non-nucleus tissue)
7 vascular_endothelium
import numpy as np
m = np.array(row["mask"])          # (H, W, 3) uint8 — read via numpy, do NOT convert("L")
nucleus = (m[..., 0] >= 1) & (m[..., 0] <= 99)   # binary nucleus mask (excludes bg & ROI-region)
inst    = m[..., 2]                # per-nucleus instance ids (ROI-filler id has R==253)
sem     = m[..., 0]               # semantic class codes (table above)

The 13-class raw codes group into the 7 main and 4 super classes used in the paper; the per-nucleus raw/main/super labels are in annotations_csv.

Columns

Column Type Notes
fov_id string FOV filename stem (encodes slide barcode + WSI crop coords)
image Image (RGB) H&E FOV, cropped to align with mask
mask Image (RGB, 3-ch uint8) instance+semantic mask, encoding above; cropped to match image
slide_name string TCGA slide barcode (e.g. TCGA-A1-A0SP-DX1) — cross-dataset dedup key
tcga_patient string TCGA patient barcode (e.g. TCGA-A1-A0SP)
hospital string TCGA TSS code (e.g. A1) — the slide-grouping used by the CV folds
fold_1..fold_5 string train/test membership in each official slide-level CV fold
n_nuclei int32 nuclei in the FOV (= CSV rows)
n_polyline int32 nuclei with true polygon boundaries
n_rectangle int32 nuclei stored as bounding boxes
height, width int32 aligned image size
superclass_counts string (JSON) per-FOV super_classification histogram
annotations_csv string raw per-FOV CSV — every nucleus's raw/main/super_classification, type, bbox (xmin..ymax) and polygon (coords_x/coords_y). Lossless

Splits / folds

All 1,744 FOVs are in a single train split. NuCLS ships an official slide-level 5-fold cross-validation (grouping by slide prevents same-slide leakage); membership is preserved as fold_1..fold_5 (each train/test). For a single hold-out benchmark, fold_1 == 'test' (22 slides) is a reasonable default evaluation set. fold_999 (a 1-slide debug fold) is not included.

Provenance, naming and cross-dataset overlap

  • Provenance: official author data (PathologyDataScience / Amgad–Cooper lab), CC0. The Dropbox NuCLS_dataset.zip is the exact single-archive re-host of the official "QC" Drive folder; FOV/nuclei counts (1,744 / 59,485 / 19,680 boundaries) match the paper's corrected single-rater numbers exactly.
  • Faithful naming: corrected single-rater subset only (see scope note).
  • Ground-truth tier: corrected = pathologist-QC'd. The paper's gold unbiased benchmark is the separate multi-rater P-truth set (not hosted here).
  • Overlap (leakage hazard): FOVs are cropped from TCGA-BRCA WSIs, so this set shares source slides with other TCGA breast histopathology datasets — most directly BCSS (Breast Cancer Semantic Segmentation; same lab, same slides, NuCLS's 124 ⊂ BCSS's 151), and potentially PanNuke, MoNuSeg, MoNuSAC, Pan-Cancer-Nuclei-Seg. Deduplicate by the slide_name / tcga_patient TCGA barcode before any joint benchmark.

Citation

@article{amgad2022nucls,
  title   = {NuCLS: A scalable crowdsourcing approach and dataset for nucleus
             classification and segmentation in breast cancer},
  author  = {Amgad, Mohamed and Atteya, Lamees A. and Hussein, Hagar and
             Mohammed, Kareem Hosny and Hafiz, Ehab and Elsebaie, Maha A. T. and
             others},
  journal = {GigaScience},
  volume  = {11},
  pages   = {giac037},
  year    = {2022},
  doi     = {10.1093/gigascience/giac037}
}
Downloads last month
21