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

整型转换 #3

Open
wanggl617 opened this issue May 9, 2020 · 4 comments
Open

整型转换 #3

wanggl617 opened this issue May 9, 2020 · 4 comments

Comments

@wanggl617
Copy link

res.append(int(ch))

ValueError: invalid literal for int() with base 10: 'i'
0%| | 0/548 [00:00<?, ?it/s]
这里会报错怎么不办

@shawnh2
Copy link
Owner

shawnh2 commented May 9, 2020

crnn/run.py 中,CBC.train()src_dir 参数传入的可能不正确

@wanggl617
Copy link
Author

嗯嗯我找到了,用于训练的图片名字不能是字符串,只能是数字,虽然没看懂代码,但是我把src_dir路径下的图片名字改成数字编号,就能运行了。

@wanggl617
Copy link
Author

大佬EAST那部分,不能理解,你能推荐个关于EAST的学习文档么.

@shawnh2
Copy link
Owner

shawnh2 commented May 18, 2020

可以参考这个:https://www.cnblogs.com/lillylin/p/9954981.html

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

2 participants