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

RuntimeError #5

Open
atheeraa opened this issue Mar 6, 2021 · 4 comments
Open

RuntimeError #5

atheeraa opened this issue Mar 6, 2021 · 4 comments

Comments

@atheeraa
Copy link

atheeraa commented Mar 6, 2021

Hi, I converted the notebook into py but I got this error when running the code:

RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.

Do you have any idea of what's causing it?

@shchur
Copy link
Owner

shchur commented Mar 7, 2021

Most likely this is some problem with multiprocessing on Windows. Setting num_workers=0 in the line sampler = nocd.sampler.get_edge_sampler(A, batch_size, batch_size, num_workers=5) might help.

@Bisma1
Copy link

Bisma1 commented Dec 30, 2021

hi, can you please help me , i am not getting any output even after installing every said module in the code it shows "torch not compiled with cuda " i am running this notebook code on VScode .
thankyou.

@shchur
Copy link
Owner

shchur commented Dec 30, 2021

This means your computer doesn't have a CUDA-compatible GPU. You can try running this code on Google Colab, they provide free GPUs there.

@Bisma1
Copy link

Bisma1 commented Jan 7, 2022

Hi , can you please define me how to give an edge list as input to this training model . I mean to say how can i convert my edge list into the same DATASET format which is given in this training model ..Thankyou

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

3 participants