Thanks, I got the following error, is this a problem with the resnet model ?
Traceback (most recent call last):
  File "/Users/wzy/PycharmProjects/pytorch/resnet.py", line 211, in <module>
    model = resnet101()
  File "/Users/wzy/PycharmProjects/pytorch/resnet.py", line 205, in resnet101
    model = ResNet(Bottleneck, [3, 4, 23, 3], **kwargs)
  File "/Users/wzy/PycharmProjects/pytorch/resnet.py", line 127, in __init__
    bias=False)
  File "/Users/wzy/anaconda/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 233, in __init__
    False, _pair(0), groups, bias)
  File "/Users/wzy/anaconda/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 37, in __init__
    self.reset_parameters()
  File "/Users/wzy/anaconda/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 44, in reset_parameters
    self.weight.data.uniform_(-stdv, stdv)
AttributeError: 'torch.ByteTensor' object has no attribute 'uniform_'