エラー
from PIL import *
import numpy as np
import matplotlib.pyplot as plt
filename = "/content/kangaroo/images/00090.jpg"#https://github.com/experiencor/kangaroo/blob/master/images/00090.jpg
with Image.open(filename) as image:
plt.imshow(image)
# TypeError: Image data of dtype object cannot be converted to float
解決
ImageFile.LOAD_TRUNCATED_IMAGES = True
ほかの画像はエラーは起きない。原因は何だろう。
参考