carpedm20 / ENAS-pytorch

PyTorch implementation of "Efficient Neural Architecture Search via Parameters Sharing"
Apache License 2.0
2.69k stars 492 forks source link

Cifar10 CNN problem #48

Open aaron851113 opened 4 years ago

aaron851113 commented 4 years ago

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)

songxueXS commented 4 years ago

Has the cnn module could been run?