Closed qiaotonggg closed 1 year ago
I'm sure the ogb is the latest(1.3.5), the system is Ubuntu 20.08.
When i comment from ogb.nodeproppred import PygNodePropPredDataset
, it can exit with code 0 normally.
Hi! Hmm I cannot reproduce this. I also used ogb 1.3.5, and I was able to run your code without any issue (Ubuntu 20.04).
I am a bit confused. When you comment out from ogb.nodeproppred import PygNodePropPredDataset
, how did you get PygNodePropPredDataset
? Also, given that the code is excuted until Finish
, I am not sure if the problem is related to ogb
package. Can you double-check?
Thanks for your reply.
I also comment out dataset = PygNodePropPredDataset(name='ogbn-products, transform=T.ToSparseTensor())
, when i comment the from ogb.nodeproppred import PygNodePropPredDataset
.
Moreover, when i keep from ogb.nodeproppred import PygNodePropPredDataset
, and only comment the dataset = PygNodePropPredDataset(name='ogbn-products, transform=T.ToSparseTensor())
, i can still wittness the problem. So, i think maybe some parallel operations in ogb
cause that problem.
Thank you again.
I had a similar problem when I tried to import PygGraphPropPredDataset from ogb.graphproppred. One way to avoid this problem is to cpoy the corresponding PygGraphPropPredDataset and and all functions and classes in ogb related to PygGraphPropPredDataset all functions and classes related to PygGraphProppredDataset cpoy to the local project, and introduce PygGraphProppredDataset from the local implementation
I had a similar problem when I tried to import PygGraphPropPredDataset from ogb.graphproppred. One way to avoid this problem is to cpoy the corresponding PygGraphPropPredDataset and and all functions and classes in ogb related to PygGraphPropPredDataset all functions and classes related to PygGraphProppredDataset cpoy to the local project, and introduce PygGraphProppredDataset from the local implementation
Thanks, it works anyway!
My code is quit simple:
The program cannot exit after print "Finish.", when i kill it, it will show some problems about
threads