`Traceback (most recent call last):


 "/home/gaoya/
s/python/GAN/ISR_predict_153_x2_images.py", line 17, in <module>

rdn.model.load_weights('/home/gaoya/
s/python/GAN/weights/rrdn-C4-D3-G64-G064-T10-x2/images/153x2-vgg19-5-9-srgan-large/rrdn-C4-D3-G64-G064-T10-x2_images_153x2-vgg19-5-9-srgan-large-e074.hdf5')


 "/usr/local/lib/python3.6/dist-packages/keras/engine/network.py", line 1166, in load_weights

f, self.layers, reshape=reshape)


 "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 1030, in load_weights_from_hdf5_group

str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 154 layers into a model with 148 layers.`

Traceback (most recent call last):


 "demo.py", line 43, in <module>

cuda=args.cuda,


 "/home/ubuntu/repos/FastPhotoStyle/process_stylization.py", line 62, in stylization

stylized_img = p_wct.transform(cont_img, styl_img, cont_seg, styl_seg)


 "/home/ubuntu/repos/FastPhotoStyle/photo_wct.py", line 28, in transform

self.__compute_label_info(cont_seg, styl_seg)


 "/home/ubuntu/repos/FastPhotoStyle/photo_wct.py", line 67, in __compute_label_info

o_cont_mask = np.where(cont_seg.reshape(cont_seg.shape[0] * cont_seg.shape[1]) == l)
ValueError: cannot reshape array of size 1555200 into shape (518400,)
