classify.py skimage error: ValueError: can not convert object to float64


caffeテストのdemoを調整すると、エラーが表示されます.
Traceback (most recent call last):
  File "classify.py", line 161, in 
    main(sys.argv)
  File "classify.py", line 113, in main
    inputs = [caffe.io.load_image(str(args.input_file))]
  File "/home/ubuntu/caffe/caffe-dev/python/caffe/io.py", line 18, in load_image
    img = skimage.img_as_float(skimage.io.imread(filename)).astype(np.float32)
  File "/usr/local/lib/python2.7/dist-packages/skimage/util/dtype.py", line 287, in img_as_float
    return convert(image, np.float64, force_copy)
  File "/usr/local/lib/python2.7/dist-packages/skimage/util/dtype.py", line 99, in convert
    raise ValueError("can not convert %s to %s." % (dtypeobj_in, dtypeobj))
ValueError: can not convert object to float64.

公式サイトで提供されるソリューション:
はい.pyファイルの前に追加
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True