Hello peop!
So I know the following code
next(iter(dataloader))
makes dataloader object to be a iterable and “next” helps it to iterate over it.
I thought this code will give me a size of (batch_num, channel_num, image_size1, image_size2)
but this isn’t true, instead next(iter(dataloader))[0] (or fixing it with any index) gives me what I thought it should…
is there any answer for this?