Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion 255_256_SRGAN/SRGAN_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
from keras.layers import UpSampling2D, LeakyReLU, Dense, Input, add
from tqdm import tqdm

# some versions of Tf.keras will need you to configure channels last to make this notebook work
# keras.backend.set_image_data_format('channels_last')

#########################################################################

#Define blocks to build the generator
Expand Down Expand Up @@ -345,4 +348,4 @@ def create_comb(gen_model, disc_model, vgg, lr_ip, hr_ip):
plt.title('Orig. HR image')
plt.imshow(sreeni_hr[0,:,:,:])

plt.show()
plt.show()