tbepler / topaz

Pipeline for particle picking in cryo-electron microscopy images using convolutional neural networks trained from positive and unlabeled examples. Also featuring micrograph and tomogram denoising with DNNs.
GNU General Public License v3.0
169 stars 63 forks source link

"Integer overflow in ysize" when loading very large micrographs #49

Closed tbepler closed 4 years ago

tbepler commented 4 years ago

Topaz errors when reading very large micrographs due to "MemoryError: Integer overflow in ysize" in pillow when the numpy array is turned into a pillow image.

Issue in pillow: https://github.com/python-pillow/Pillow/issues/3963. Apparently this is fixed in the recent pillow release.

tbepler commented 4 years ago

Increased pillow version requirement to 6.2.0 to guarantee pillow version has above fix in commit efb9e4ad76a2394ed796ed60752d9e29763e1f99