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
Line 294 of the file "trainer.py" unpacks input, target, and index from the val_loader_target. Could you explain or give an example of what the index indicates? Because generally we always unpack just input and target from the data loader. Thank you so much!
The text was updated successfully, but these errors were encountered:
Hello! The index indicates the order of an instance in the dataset. Note that the order is unchanged during data loading and used as an index to fetch the corresponding instance for forming a batch. Please refer to folder.py for details. Hope this solves your problem.发自我的华为手机-------- 原始邮件 --------发件人: Qucheng Peng <[email protected]>日期: 2021年1月3日周日 上午9:19收件人: huitangtang/SRDC-CVPR2020 <[email protected]>抄送: Subscribed <[email protected]>主 题: [huitangtang/SRDC-CVPR2020] Question about the Datasets and DataLoader (#7)
Line 294 of the file "trainer.py" unpack input, target, and index from the val_loader_target. Could you explain or give an example of what the index indicates? Because generally we always unpack just input and target from the data loader. Thank you so much!
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
Line 294 of the file "trainer.py" unpacks input, target, and index from the val_loader_target. Could you explain or give an example of what the index indicates? Because generally we always unpack just input and target from the data loader. Thank you so much!
The text was updated successfully, but these errors were encountered: