-
Notifications
You must be signed in to change notification settings - Fork 327
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
把训练数据转换lmdb之前,标签是文字还是对应的数字??? #89
Comments
应该是数字,而且存图的时候需要open('rb')直接将二进制存到 lmdb |
不理解。。。博主提供的百度链接中的数据集有3份文件,一份是data_train.txt(205MB), 一份data_test.txt(2MB), 还一份是Synthetic_Chinese_String_Dataset.rar, 是8.6GB.。data_train.txt中图片的路径后面跟着的是一堆数字,也不是二进制格式。。这个是怎么回事呢? |
txn.put(k, v) 转为 txn.put(str(k).encode(), str(v).encode()) 就可以了 |
‘r’ 转 'rb'也是需要的 |
训练CRNN 的数据标签不应该是图片上的文字内容吗? 为什么下载的文件里还有坐标而且是数字标签呢? 疑惑 |
No description provided.
The text was updated successfully, but these errors were encountered: