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

Related to the model Training #2

Open
Itsme1212 opened this issue Jan 29, 2024 · 2 comments
Open

Related to the model Training #2

Itsme1212 opened this issue Jan 29, 2024 · 2 comments

Comments

@Itsme1212
Copy link

Itsme1212 commented Jan 29, 2024

pic.pdf

Once see the above code snippet pdf file, while executing the train.py code, I m facing an Import Error which tells to install pyg-lib or torch-sparse library. But when i tried to install them, both the libraries are not installing. I also installed the torch_geometric library, still I'm getting the same error. Please help me out.

The error in train.py is : ImportError: 'NeighborSampler' requires either 'pyg-lib' or 'torch-sparse'
You can view my google colab file here: https://colab.research.google.com/drive/1sZQ2bBcyiPETqmwtjpJIz58X5zyI8WjN#scrollTo=Q3dxZzh-eTLK

@issacchan26
Copy link
Owner

pic.pdf

Once see the above code snippet pdf file, while executing the train.py code, I m facing an Import Error which tells to install pyg-lib or torch-sparse library. But when i tried to install them, both the libraries are not installing. I also installed the torch_geometric library, still I'm getting the same error. Please help me out.

The error in train.py is : ImportError: 'NeighborSampler' requires either 'pyg-lib' or 'torch-sparse' You can view my google colab file here: https://colab.research.google.com/drive/1sZQ2bBcyiPETqmwtjpJIz58X5zyI8WjN#scrollTo=Q3dxZzh-eTLK

It may due to issue of missing library
you may refer to this link:
pyg-team/pytorch_geometric#7866

@Itsme1212
Copy link
Author

Hey, I m unable to solve the error. Can you please try it your side in google colab and let me know how to overcome that error please !!!

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