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

运行 train.py 有个resize 报错 #106

Open
XHQC opened this issue Dec 17, 2020 · 0 comments
Open

运行 train.py 有个resize 报错 #106

XHQC opened this issue Dec 17, 2020 · 0 comments

Comments

@XHQC
Copy link

XHQC commented Dec 17, 2020

File "/data/SSD/text_renderer-master/textrenderer/renderer.py", line 208, in crop_img
dst = cv2.resize(dst, (dst_width, self.out_height), interpolation=cv2.INTER_CUBIC)
cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-p6arhee9/opencv/modules/imgproc/src/resize.cpp:3929: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
可以正常跑完,但不知道数据是否会乱?

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

No branches or pull requests

1 participant