vqdang / hover_net

Simultaneous Nuclear Instance Segmentation and Classification in H&E Histology Images.
MIT License
537 stars 224 forks source link

Nuclei number of the Kumar dataset. #263

Closed windygooo closed 11 months ago

windygooo commented 1 year ago

The number of nuclei in the downloaded Kumar dataset is 16966, which is different from the reported 21623 in the paper.

cell_count = 0
for root, _, files in os.walk('raw_data/kumar'):
    for file in files:
        if file.endswith('mat'):
            data = scipy.io.loadmat(os.path.join(root, file))
            cell_count += data['inst_map'].max()
print(cell_count)
simongraham commented 11 months ago

Have you ensured that you are counting across train, validation and test sets?