Skip to content
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

demo_imgs前向遇到问题 #48

Open
q5390498 opened this issue Dec 8, 2023 · 1 comment
Open

demo_imgs前向遇到问题 #48

q5390498 opened this issue Dec 8, 2023 · 1 comment

Comments

@q5390498
Copy link

q5390498 commented Dec 8, 2023

前向时遇到这行报错,https://github.com/gangweiX/IGEV/blob/main/IGEV-Stereo/core/utils/utils.py#L68

assert torch.unique(ygrid).numel() == 1 and H == 1 # This is a stereo problem
AssertionError

触发了这个assert,我看作者标注了this is a stereo problem,请问是什么问题呢?又要怎么解决呢

@gangweiX
Copy link
Owner

是不是bilinear_sampler这个函数中,img的维度不对啊,你是改了什么东西吗,可以打印维度看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants