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

"ValueError: Type must be a sub-type of ndarray type" #7

Open
seema-12varsh opened this issue Jun 22, 2020 · 0 comments
Open

"ValueError: Type must be a sub-type of ndarray type" #7

seema-12varsh opened this issue Jun 22, 2020 · 0 comments

Comments

@seema-12varsh
Copy link

File "/content/drive/My Drive/tirg/tirg/torch_functions.py", line 41, in pairwise_distances
x_norm = (np.power(x, 2)).sum(1).view(1,-1)
ValueError: Type must be a sub-type of ndarray typearises

How to resolve this error!

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