Skip to content

Instantly share code, notes, and snippets.

@techwithshadab
Last active August 13, 2019 20:00
Show Gist options
  • Save techwithshadab/761bdcfd175b70df7887a4e790e8a8ea to your computer and use it in GitHub Desktop.
Save techwithshadab/761bdcfd175b70df7887a4e790e8a8ea to your computer and use it in GitHub Desktop.
# plotting female and male side by side
def show_male_and_female():
female = read_image(train_image_name[0])
male = read_image(train_image_name[2])
pair = np.concatenate((female, male), axis=1)
plt.figure(figsize=(10,5))
plt.imshow(pair)
plt.show()
show_male_and_female()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment