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

Hey i just reviewed one part of code. #812

Open
genprokuror opened this issue Jan 24, 2024 · 0 comments
Open

Hey i just reviewed one part of code. #812

genprokuror opened this issue Jan 24, 2024 · 0 comments

Comments

@genprokuror
Copy link

Hey i just reviewed one part of code.
Check out what's inside the training dataloader train_features_batch, train_labels_batch = next(iter(train_dataloader)) train_features_batch.shape, train_labels_batch.shape
I cant understand why it gives this when launching
(torch.Size([32, 1, 28, 28]), torch.Size([32]))
Why their sizes and values are not the same? Dont author assigned them together here? How it works?
train_features_batch, train_labels_batch = next(iter(train_dataloader))

Originally posted by @genprokuror in #811

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

1 participant