nyukat / breast_cancer_classifier

Deep Neural Networks Improve Radiologists' Performance in Breast Cancer Screening
https://ieeexplore.ieee.org/document/8861376
GNU Affero General Public License v3.0
840 stars 269 forks source link

random number generator on len(datum[view]) #26

Closed jamesjjcondon closed 4 years ago

jamesjjcondon commented 4 years ago

Hi,

Thanks so much for this repo. Great stuff. And love the paper.

the len(datum[view]) from here seems to consistently be 1. And then the image_index is always zero.

Is that right?

Thanks again.

jpatrickpark commented 4 years ago

That is the case for the examples included in this repository. They happened to have only one image per view. The randomization will work as expected when an exam with more than one image per view is provided (e.g. an exam which has two different images for L-CC view).