-
Notifications
You must be signed in to change notification settings - Fork 72
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
AssertionError #34
Comments
@zzzzjx 您好,这是由于你测试数据中,有些数据没通过数据校验导致的。您可以检查下dataset.py 中调用 self._next_image(idx)的一些校验测试数据的部分是不是通过了。 |
请问你后面解决了吗?我是自己的中文的数据集,也报错 |
你好,我也遇到了一样的问题,请问具体是怎么解决的呢? |
I also encountered the same problem : it will call self.get(idx) |
使用CUDA_VISIBLE_DEVICES=0 python main.py --config=configs/train_abinet.yaml --phase test --test_root data/evaluation/IIIT5k_3000/ --image_only 命令,提示: |
Hello, I have also encountered this issue. I will now replace
with
But during validation, new errors will occur
May I ask what the problem may be? |
你好,看了您的论文,我很受启发。在复现您代码用其它数据集时,我遇到了这个错误:
if not self.is_training: assert idx == idx_new, f'idx {idx} != idx_new {idx_new} during testing.'
AssertionError: idx 3 != idx_new 762 during testing.
请问我是还需要修改哪里吗?期待您的回复
The text was updated successfully, but these errors were encountered: