-
Notifications
You must be signed in to change notification settings - Fork 326
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
CTC计算出来的loss非常大,大于60的loss, 不知道哪里出了问题 #72
Comments
你好,请教一下,我运行create_lmdb_dataset.py出现not a valid image 戴志 |
说明这个图片没有读进来,你换其它格式的图片试试看------------------ 原始邮件 ------------------
发件人: "ShangLe0607"<[email protected]>
发送时间: 2019年10月15日(星期二) 下午5:53
收件人: "AstarLight/Lets_OCR"<[email protected]>;
抄送: "joeqincai"<[email protected]>;"Author"<[email protected]>;
主题: Re: [AstarLight/Lets_OCR] CTC计算出来的loss非常大,大于60的loss, 不知道哪里出了问题 (#72)
你好,请教一下,我运行create_lmdb_dataset.py出现not a valid image
戴志
/opt/crnn/images/9998.png is not a valid image
/opt/crnn/images/9999.png
窦君晶
/opt/crnn/images/9999.png is not a valid image
Created dataset with 0 samples
请问这是什么原因呢
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@joeqincai 谢谢您,但是我试了试jpg格式还是同样的结果---、not valid image |
你使用绝对路径去读一张图片试一下,我采用的是lmdb保存图片路径的方式,而不是保存图片字符串来做的 |
@joeqincai |
def getitem(self, index): |
|
你需要先确定这个错误是在哪一句代码报错来的,然后再去尝试修复 |
我这个要得到test_lmdb和train_lmda的那个程序,结果是这样子,但确实能得到test_lmdb和train_lmda两个文件加,可是运行结果说是图片是无效,但整个程序并没有报错, 俞园翰 |
1、你要用编译器单步调试跟进去去看,在哪一句话报了这个错误; |
No description provided.
The text was updated successfully, but these errors were encountered: