Google Collab是否支持Pillow-simd

时间:2019-05-05 06:09:21

标签: python-imaging-library simd

我尝试在google colab(这里为a link)上安装pyllow-simd并实现它,但出现错误:

---------------------------------------------------------------------------

OSError                                   Traceback (most recent call last)

<ipython-input-4-9f796a1b3890> in <module>()
      5 start = time.time()
      6 
----> 7 image = Image.open('img_lights.jpg')
      8 image = image.resize((64, 64))
      9 image.save('lol.jpg')

/usr/local/lib/python3.6/dist-packages/PIL/Image.py in open(fp, mode)
   2570     if pixels > MAX_IMAGE_PIXELS:
   2571         warnings.warn(
-> 2572             "Image size (%d pixels) exceeds limit of %d pixels, "
   2573             "could be decompression bomb DOS attack." %
   2574             (pixels, MAX_IMAGE_PIXELS),

OSError: cannot identify image file 'img_lights.jpg'

google colab不支持枕头模拟吗?

0 个答案:

没有答案