AttributeError: 'ReLU' object has no attribute 'threshold'

After training and exporting the model, when I am loading the alexnet.pkl file and trying get a prediction for an image I am getting this error.

Traceback (most recent call last):
File “reload-AlexNet.py”, line 104, in
outputs = alexnet(frame)
File “/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py”, line 491, in call
result = self.forward(*input, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/torchvision/models/alexnet.py”, line 44, in forward
x = self.features(x)
File “/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py”, line 491, in call
result = self.forward(*input, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py”, line 97, in forward
input = module(input)
File “/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py”, line 491, in call
result = self.forward(*input, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/torch/nn/modules/activation.py”, line 50, in forward
return F.threshold(input, self.threshold, self.value, self.inplace)
File “/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py”, line 537, in getattr
type(self).name, name))
AttributeError: ‘ReLU’ object has no attribute ‘threshold’

Does anyone know how to resolve this issue?

My device is TX2,and the pytorch is
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import torch
torch.version
‘1.1.0a0+b457266’