shawnh2 / BankCard-Recognizer

Identifying numbers from bankcard, based on Deep Learning with Keras
MIT License
80 stars 31 forks source link

整型转换 #3

Open wanggl617 opened 4 years ago

wanggl617 commented 4 years ago
res.append(int(ch))

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

shawnh2 commented 4 years ago

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

wanggl617 commented 4 years ago

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

wanggl617 commented 4 years ago

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

shawnh2 commented 4 years ago

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