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

Question about --corr_implementation reg cuda option error #97

Open
gimunum opened this issue May 16, 2024 · 0 comments
Open

Question about --corr_implementation reg cuda option error #97

gimunum opened this issue May 16, 2024 · 0 comments

Comments

@gimunum
Copy link

gimunum commented May 16, 2024

When running the demo code in an A6000, ubuntu18.04, python 3.7, cuda 11.8 environment, if I use the reg or alt option as a ' --corr_implementation' option, it runs without error, but if I use the reg_cuda option, the error below appears. What is the solution?
Traceback (most recent call last):
File "demo.py", line 78, in
demo(args)
File "demo.py", line 46, in demo
_, flow_up = model(image1, image2, iters=args.valid_iters, test_mode=True)
File "/home/gmum/anaconda3/envs/raftstereo/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "core/raft_stereo.py", line 110, in forward
corr = corr_fn(coords1) # index correlation volume
File "/home/gmum/PycharmProjects/RAFT-Stereo/core/corr.py", line 50, in call
out_pyramid.append(corr.view(bz, -1, ht, wd))
AttributeError: 'list' object has no attribute 'view'

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

1 participant