ImportError for mask_to_index #4734
Unanswered
JiaruiWang
asked this question in
Q&A
Replies: 1 comment
-
We just recently added this function. If you want to use it, you have to install PyG from master/nightly, see here. Alternatively, you can just implement the functionality on your end. It is not too hard to do so, see here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The model can run successfully. However, I got the error when I try to import
mask_to_index
.from torch_geometric.utils import index_to_mask, mask_to_index
ImportError: cannot import name 'mask_to_index' from 'torch_geometric.utils'
The
index_to_mask
can be imported.Beta Was this translation helpful? Give feedback.
All reactions