Summary: 10 instances, 8 unique Text Count # TODO make it support different-sized images 1 # TODO can allow dataset as an iterable or IterableDataset to make this function more general 1 # TODO make this more general 1 # TODO consider examining below deepcopy as it costs huge amount of computations. 1 # FIXME h_boxes takes the last one computed, keep this in mind 1 # TODO: get padding mask 1 # TODO: currently we assume image and label has the same filename but 3 # TODO use valid to mask invalid areas due to padding in loss 1