Traceback (most recent call last):


 "models/export.py", line 33, in <module>

model = attempt_load(opt.weights, map_location=torch.device('cpu'))
# load FP32 model


 "./models/experimental.py", line 118, in attempt_load

model.append(torch.load(w, map_location=map_location)['model'].float().fuse().eval())
# load FP32 model


 "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 584, in load

return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)


 "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 842, in _load

result = unpickler.load()
AttributeError: Can't get attribute 'SiLU' on <module 'torch.nn.modules.activation' from '/usr/local/lib/python3.6/dist-packages/torch/nn/modules/activation.py'>

Traceback (most recent call last):


 "/home/user01/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/home/user01/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/home/user01/SRGAN-master/tensorlayer/prepro.py", line 87, in apply_fn

results[i] = fn(data, **kwargs)


 "/home/user01/SRGAN-master/utils.py", line 17, in crop_sub_imgs_fn

x = crop(x, wrg=384, hrg=384, is_random=is_random)


 "/home/user01/SRGAN-master/tensorlayer/prepro.py", line 232, in crop

h, w = x.shape[row_index], x.shape[col_index]
AttributeError: 'NoneType' object has no attribute 'shape'
