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

Cifar10 CNN problem #48

Open
aaron851113 opened this issue Nov 20, 2019 · 1 comment
Open

Cifar10 CNN problem #48

aaron851113 opened this issue Nov 20, 2019 · 1 comment

Comments

@aaron851113
Copy link

utils.py", line 150, nbatch = data.size(0) // bsz
AttributeError: 'DataLoader' object has no attribute 'size'
-> nbatch = len (data.size)

image.py line 9,
if args == 'cifar' -> if args == 'data/cifar'

line 30-31/38-39,
-> batch_size = 200, shuffle=True,
-> num_workers= 4 , pin_memory=True)

@songxueXS
Copy link

Has the cnn module could been run?

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