We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696eb3c commit b440236Copy full SHA for b440236
users/dorian_koch/datasets/MixingDataset.py
@@ -226,7 +226,7 @@ def _run_seq_idx(self, seq_idx):
226
# so just start loading them at the beginning again
227
if all(self.datasets_exhausted):
228
self.is_chooser_done = True
229
- print(f"MixingDataset: optimal mixing ratio = {child_indices[1] / max(1, child_indices[0]+child_indices[1])}", file=log.v4)
+ print(f"MixingDataset: optimal mixing ratio = {self.datalens[1] / max(1, self.datalens[0]+self.datalens[1])}", file=log.v4)
230
break
231
# the modulo operator below will wrap around
232
0 commit comments