Augmenting Monet
Perhaps you're still working on that machine learning model that identifies ocean scenes in paintings. You'd like to generate a few extra images to augment your existing data. After all, a human can tell that a painting is of an ocean even if the painting is upside-down: why shouldn't your machine learning model?
numpy is loaded as np, and the 3D Monet rgb_array is available.
Latihan ini adalah bagian dari kursus
Introduction to NumPy
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Flip rgb_array so that it is the mirror image of the original
mirrored_monet = ____
plt.imshow(mirrored_monet)
plt.show()