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

demo2 code error #26

Open
tengshaofeng opened this issue May 20, 2024 · 0 comments
Open

demo2 code error #26

tengshaofeng opened this issue May 20, 2024 · 0 comments

Comments

@tengshaofeng
Copy link

Thanks for your great job. It is really usefull. But when I run the demo2(), it comes error.
File "/Users/tengbaoqiang/Documents/code/Moving-Least-Squares/demo.py", line 327, in
demo2()
File "/Users/tengbaoqiang/Documents/code/Moving-Least-Squares/demo.py", line 167, in demo2
rigid2 = mls_rigid_deformation_pt(vy, vx, p2, q2, alpha=1)
File "/Users/tengbaoqiang/Documents/code/Moving-Least-Squares/img_utils_pytorch.py", line 250, in mls_rigid_deformation
device = q.device
AttributeError: 'numpy.ndarray' object has no attribute 'device'

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