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
使用其它数据集问题 #51
Comments
这个错应该是测试阶段发生的,测试阶段有测试数据被校验丢弃了 |
好的,非常感谢,已经解决问题了,就是这个原因 |
请问你是怎么解决的呢? |
修改校验部分和字符集,原有的校验部分会把含有字符集中未出现的元素(如符号之类)的样本都删掉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
想使用其他数据集,利用tools/create_lmdb_dataset.py将数据集转换成mdb格式后,不管是训练还是测试模型总是报错:
File "/home/yuy/workspace/ABINet-main/dataset.py", line 137, in getitem
if not self.is_training: assert idx == idx_new, f'idx {idx} != idx_new {idx_new} during testing.'
AssertionError: idx 18 != idx_new 11558 during testing
想请问一下大概是什么原因呢?还是原始数据集需要做什么特殊处理吗?
The text was updated successfully, but these errors were encountered: