Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opencv imread when the fpath contains Chinese #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ausk
Copy link

@ausk ausk commented Jun 21, 2023

opencv 无法读取中文路径下的图片(如Windows系统上)。使用 numpy 读取到内存,然后使用 opencv 解码,实现图片读取。

opencv 无法读取中文路径下的图片(如Windows系统上)。使用 numpy 读取到内存,然后使用 opencv 解码,实现图片读取。
@gb16001
Copy link

gb16001 commented May 16, 2024

遇到了同样的bug,希望作者pull一下。
另外
batch_size 系列参数没有设置为int类型,如果外部输入会认成str

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants