You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use --balance-batch option, there is a problem.
In MultiFDataset def _get_training_samples(self, index): indices = [] for class_ in self.labels_set: real_index = self.label_to_indices[class_][int(index * self.ratios[class_])] indices.append(real_index) return indices
at the part of (index * self.ratios[class_]), their range is over the self.label_to_indices itself.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
When I try to use --balance-batch option, there is a problem.
In MultiFDataset
def _get_training_samples(self, index): indices = [] for class_ in self.labels_set: real_index = self.label_to_indices[class_][int(index * self.ratios[class_])] indices.append(real_index) return indices
at the part of (index * self.ratios[class_]), their range is over the self.label_to_indices itself.
The text was updated successfully, but these errors were encountered: