Skip to content

Commit

Permalink
Update main_pyg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s authored Mar 23, 2020
1 parent a1f2c04 commit 3719ada
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/graphproppred/ppi/main_pyg.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@

### importing OGB

### for loading dataset
from ogb.graphproppred.dataset_pyg import PygGraphPropPredDataset
### for evaluation
from ogb.graphproppred import Evaluator
from ogb.graphproppred import PygGraphPropPredDataset, Evaluator

multicls_criterion = torch.nn.CrossEntropyLoss()

Expand Down Expand Up @@ -149,4 +146,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 3719ada

Please sign in to comment.