Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the Datasets and DataLoader #7

Open
davidpqc1231 opened this issue Jan 3, 2021 · 1 comment
Open

Question about the Datasets and DataLoader #7

davidpqc1231 opened this issue Jan 3, 2021 · 1 comment

Comments

@davidpqc1231
Copy link

davidpqc1231 commented Jan 3, 2021

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!

@huitangtang
Copy link
Collaborator

huitangtang commented Jan 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants