carpedm20 / carpedm20/ENAS-pytorch
Cifar10 CNN problem
Open
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 486
- PR merge metrics
- No merged PRs in 30d
Description
1.
utils.py", line 150, nbatch = data.size(0) // bsz
AttributeError: 'DataLoader' object has no attribute 'size'
-> nbatch = len (data.size)
2.
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)
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect utils.py around line 150 and image.py around line 9 and lines 30-31/38-39. Reproduce the CIFAR10 CNN run, then verify that the DataLoader error and CIFAR path or loader configuration issues no longer occur when the example starts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100