Closed counkomol closed 4 years ago
There are several issues with BufferedPatchDataset (bpds) that need to be addressed:
buffer_switch_frequency
npatches
FnetDataset
__len__
__getitem__
self.remaining_to_be_in_buffer
shuffle_images
Closing issue as it is marked as done
There are several issues with BufferedPatchDataset (bpds) that need to be addressed:
buffer_switch_frequency
parameter is confusing. The parameter value is used as an interval/period, not a frequency.npatches
parameter is arbitrary. A bpds object really has no "length" in the traditional sense.FnetDataset
, yet does not use the underlying methods/attributes ofFnetDataset
.__len__
is meaningless as mentioned above.__getitem__
is random.self.remaining_to_be_in_buffer
is unused and misleading whenshuffle_images
is set to False.