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 6f66cd4 commit a1f2c04
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/graphproppred/mol/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

cls_criterion = torch.nn.BCEWithLogitsLoss()
reg_criterion = torch.nn.MSELoss()
Expand Down Expand Up @@ -166,4 +163,4 @@ def main():


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

0 comments on commit a1f2c04

Please sign in to comment.