mmpretrain icon indicating copy to clipboard operation
mmpretrain copied to clipboard

fix read Image Fail in OpenCV But OK in Pillow

Open makao007 opened this issue 3 years ago • 2 comments

在Linux下,有时读取图片失败(默认是opencv), 但用pillow读取图片则是成功的. 下面的代码就是修复这个问题.

makao007 avatar Jun 26 '22 13:06 makao007

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 26 '22 13:06 CLAassistant

Hi @makao007 !We are grateful for your efforts in helping improve mmpretrain open-source project during your personal time.

Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:)

Thank you again for your contribution❤

OpenMMLab-Assistant-004 avatar Apr 12 '23 04:04 OpenMMLab-Assistant-004