You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: