Created
February 4, 2020 11:14
-
-
Save prateekjoshi565/ec6492292001f34e5db0de977631905f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get low resolution images for the training set | |
train_x_px = [] | |
for i in range(train_x.shape[0]): | |
temp = pixalate_image(train_x[i,:,:,:]) | |
train_x_px.append(temp) | |
train_x_px = np.array(train_x_px) | |
# get low resolution images for the validation set | |
val_x_px = [] | |
for i in range(val_x.shape[0]): | |
temp = pixalate_image(val_x[i,:,:,:]) | |
val_x_px.append(temp) | |
val_x_px = np.array(val_x_px) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment