PIL will crash (segmentation error) when save large-scale image in multithreads #469
lizhihao6
announced in
Announcements
Replies: 2 comments
-
Hey @lizhihao6, thanks for your interest in our project. |
Beta Was this translation helpful? Give feedback.
0 replies
-
thx for your attention,Pillow==9.0.0
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: LeoXing1996 ***@***.***>
发送时间: Monday, January 24, 2022 10:51:14 PM
收件人: open-mmlab/mmgeneration ***@***.***>
抄送: lizhihao6 ***@***.***>; Mention ***@***.***>
主题: Re: [open-mmlab/mmgeneration] PIL will crash (segmentation error) when save large-scale image in multithreads (Issue #235)
Hey @lizhihao6<https://github.com/lizhihao6>, thanks for your interest in our project.
Can you provide your Pillow version? I will try to reproduce and debug this later.
―
Reply to this email directly, view it on GitHub<#235 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFJEKRA3GF2CECPTCBTWIDLUXVROFANCNFSM5MVSJW7A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug
A clear and concise description of what the bug is.
Reproduction
Run myself code, happended when use MMGenVisualizationHook to save large-scale image(4032x3024) to storage server.
Could be reproducted by:
modified MMGenVisualizationHook
Yes.
Myself dataset.
Environment
python mmgen/utils/collect_env.py
to collect necessary environment information and paste it here.$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)TorchVision: 0.10.1
OpenCV: 4.5.3
MMCV: 1.4.3
MMGen: 0.5.0+4de90c2
MMCV Compiler: GCC 5.4
MMCV CUDA Compiler: 11.1
Error traceback
If applicable, paste the error trackback here.
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
May related to python-pillow/Pillow#4225
Fixed by using cv2:
Beta Was this translation helpful? Give feedback.
All reactions