ogb
ogb copied to clipboard
When ogb is improted into the program, the program does not exit properly
Minimum reproducible program:
import ogb print(ogb.__version__)
Problem Cause: I tried to use from ogb.graphproppred import PygGraphPropPredDataset in my project and found that the program does not exit properly. I tried a simple test program, similar to the code in the minimally reproducible problem, and found that referencing ogb triggered the problem of the program not exiting properly.
I tried copying the relevant implementation from ogb locally and referencing it from a local package and found that the local package does not cause this problem. The only difference between the local and ogb implementations is that there is no if __name__ == '__main__'
added to the code.
Hi! Thanks for reporting. Could you tell us a bit more about your environment? I cannot reproduce your issue. I can run import ogb; print(ogb.__version__)
without any problem.
Python version 3.10.0, ogb version 1.3.5, Ubuntu 20.04.6 LTS.