Hi,
I follow that accessing ConcatDataset data (say, for training) can be done as follows:
for i, (x,y) in enumerate(DataLoader(train, batch_size, shuffle=True, num_workers=5)):
pass
I am not able to follow how to follow a similar approach on an IterableDataset joined with ChainDataset. I have an instance of ChainDatset but I am not sure how to iterate over to access the individual elements.
Also, I get the following error:
iter() returned non-iterator of type ‘tuple’
Thanks!