8000 "ValueError: Type must be a sub-type of ndarray type" · Issue #7 · google/tirg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"ValueError: Type must be a sub-type of ndarray type"  #7
Open
@seema-12varsh

Description

@seema-12varsh

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0