[TLX] Restore pre-trained weights
Traceback (most recent call last):
File "C:\Users\temac\Documents\ai soft\SRGAN-master\train.py", line 111, in
VGG = vgg.VGG19(pretrained=True, end_with='pool4', mode='dynamic')
File "C:\Users\temac\Documents\ai soft\SRGAN-master\vgg.py", line 261, in vgg19
restore_model(model, layer_type='vgg19')
File "C:\Users\temac\Documents\ai soft\SRGAN-master\vgg.py", line 169, in restore_model
npz = np.load(os.path.join('model', model_saved_name[layer_type]), allow_pickle=True, encoding='latin1').item()
AttributeError: 'NpzFile' object has no attribute 'item'. Did you mean: 'items'?
Please help me fix this error!