擴增莫內畫作
也許你還在打造能辨識畫作中海景的機器學習模型。你想產生一些額外影像來擴增現有資料。畢竟,人即使把畫倒過來也看得出那是海景:你的機器學習模型為什麼不行呢?
numpy 已載入為 np,3D 的莫內 rgb_array 已可使用。
本練習屬於課程
NumPy 入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Flip rgb_array so that it is the mirror image of the original
mirrored_monet = ____
plt.imshow(mirrored_monet)
plt.show()