mmpretrain
mmpretrain copied to clipboard
fix read Image Fail in OpenCV But OK in Pillow
在Linux下,有时读取图片失败(默认是opencv), 但用pillow读取图片则是成功的. 下面的代码就是修复这个问题.
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❤