ソースを参照

Set PIL.Image.MAX_IMAGE_PIXELS = None for large images

Kentaro Wada 5 年 前
コミット
df56f13eea
1 ファイル変更3 行追加0 行削除
  1. 3 0
      labelme/label_file.py

+ 3 - 0
labelme/label_file.py

@@ -12,6 +12,9 @@ from labelme import QT4
 from labelme import utils
 
 
+PIL.Image.MAX_IMAGE_PIXELS = None
+
+
 class LabelFileError(Exception):
     pass