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

cannot import name th_meshgrid #3

Closed
srv902 opened this issue Apr 23, 2017 · 2 comments
Closed

cannot import name th_meshgrid #3

srv902 opened this issue Apr 23, 2017 · 2 comments

Comments

@srv902
Copy link

srv902 commented Apr 23, 2017

Hi there,

There is an import error for

th_meshgrid

whenever I try to import torchsample. In utils.py I can only find th_meshgrid2d and th_meshgrid3d.

@ncullen93
Copy link
Member

ncullen93 commented Apr 23, 2017

Yeah I renamed it because I added a 3D affine transform + tri linear interpolation.. Ill fix that in a sec thanks for letting me know

EDIT: decided to make th_meshgrid work for arbitrary number of dimensions - now, th_meshgrid(2,3,4) , th_meshgrid(3,3), th_meshgrid(2,2,2,2,2) and so on will work.

Try to import th_meshgrid now.

@srv902
Copy link
Author

srv902 commented Apr 23, 2017

@ncullen93 Yeah, it's working now.

@srv902 srv902 closed this as completed Apr 23, 2017
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