原始程式碼:

<img src="https://miro.medium.com/max/1250/1*Gs_f7aWJQktSkIWLy2m70g.png" width="75%">

出現錯誤:
  Cell In[13], line 1
    <img src="https://miro.medium.com/max/1250/1*Gs_f7aWJQktSkIWLy2m70g.png" width="75%">
    ^ 
SyntaxError: invalid syntax 

改成這樣就可以了
from IPython.display import Image
Image(url="https://miro.medium.com/max/1250/1*Gs_f7aWJQktSkIWLy2m70g.png", width=500)

评论

此博客中的热门博文

修正input_img_data = np.random.random((1, 150, 150, 3)) * 20 + 128.

緣起