Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
weihua916 committed Mar 23, 2020
2 parents 78b7aaa + 3719ada commit 059ef08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions examples/graphproppred/mol/main_pyg.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import numpy as np

### importing OGB

### for loading dataset and evaluator
from ogb.graphproppred import PygGraphPropPredDataset, Evaluator

cls_criterion = torch.nn.BCEWithLogitsLoss()
Expand Down Expand Up @@ -164,4 +162,4 @@ def main():


if __name__ == "__main__":
main()
main()
4 changes: 1 addition & 3 deletions examples/graphproppred/ppi/main_pyg.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import numpy as np

### importing OGB

### for loading dataset and evaluator
from ogb.graphproppred import PygGraphPropPredDataset, Evaluator

multicls_criterion = torch.nn.CrossEntropyLoss()
Expand Down Expand Up @@ -147,4 +145,4 @@ def main():


if __name__ == "__main__":
main()
main()
1 change: 1 addition & 0 deletions ogb/graphproppred/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@

try:
from .dataset_dgl import DglGraphPropPredDataset
from .dataset_dgl import collate_dgl
except ImportError:
pass

0 comments on commit 059ef08

Please sign in to comment.