Skip to content

Commit ab100d4

Browse files
committed
Minor
1 parent 88cc71b commit ab100d4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/design.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
The library is designed with 3 things in mind:
7+
78
- High modularity and configurability with *YAML* files
89
- Contain the state-of-the art GNNs, including positional encodings and graph Transformers
910
- Massively multitasking across diverse and sparse datasets

graphium/trainer/predictor.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,7 @@ def load_pretrained_models(name: str, device: str = None):
682682
GRAPHIUM_PRETRAINED_MODELS_DICT[name], map_location=device
683683
)
684684
else:
685-
return PredictorModule.load_from_checkpoint(
686-
name, map_location=device
687-
)
685+
return PredictorModule.load_from_checkpoint(name, map_location=device)
688686

689687
def set_max_nodes_edges_per_graph(self, datamodule: BaseDataModule, stages: Optional[List[str]] = None):
690688
datamodule.setup()

0 commit comments

Comments
 (0)