mean-teacher icon indicating copy to clipboard operation
mean-teacher copied to clipboard

Question about DataLoader

Open jhb115 opened this issue 4 years ago • 4 comments

Hi! Awesome work by the way. I am curious from which part of your code let you get (input, ema_input). The TwoStreamBatchSampler seem to return a single batch (not as a tuple of two batches). I am just wondering from which part of the code let the DataLoader return a tuple of (input, ema_input) Looking forward to your reply. Thanks in advance!

jhb115 avatar Apr 06 '20 14:04 jhb115

I am also confused.

lipanpeng avatar May 06 '21 09:05 lipanpeng

Hi! Awesome work by the way. I am curious from which part of your code let you get (input, ema_input). The TwoStreamBatchSampler seem to return a single batch (not as a tuple of two batches). I am just wondering from which part of the code let the DataLoader return a tuple of (input, ema_input) Looking forward to your reply. Thanks in advance!

I am also confused, and I think the ema_input should be the same with the input.

ZhuMengliang avatar Jun 07 '21 16:06 ZhuMengliang

please see https://github.com/CuriousAI/mean-teacher/issues/17%20%20 , the answer of tarvaina can help you !

ZHE-SAPI avatar Mar 10 '22 08:03 ZHE-SAPI

邮件已收到!

lipanpeng avatar Mar 10 '22 08:03 lipanpeng