Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.