miguelvr / dropblock

Implementation of DropBlock: A regularization method for convolutional networks in PyTorch.
MIT License
588 stars 95 forks source link

'ResNetCustom' object has no attribute '_norm_layer' #44

Open hello-trouble opened 3 years ago

hello-trouble commented 3 years ago

Thank you for your excellent job about the dropblock. However, there are some errors when I run the code. It occured in the 34 line of resnet-cifar10.py, self.layer1 = self._make_layer(block, 64, layers[0]). I am puzzled about it.

miguelvr commented 3 years ago

It could be a pytorch version incompatibility. Which version are you using?

SangRyul commented 2 years ago

It could be a pytorch version incompatibility. Which version are you using?

same here. Which version did you use on this example? I use torch 1.8.1