Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jalencato committed Oct 5, 2023
1 parent 264c80e commit 96bdaf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/graphstorm/run/gsgnn_emb/gsgnn_node_emb.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def main(config_args):

if config.task_type == BUILTIN_TASK_LINK_PREDICTION:
model = gs.create_builtin_lp_gnn_model(train_data.g, config, train_task=False)
elif config.task_type == {BUILTIN_TASK_NODE_REGRESSION, BUILTIN_TASK_NODE_CLASSIFICATION}:
elif config.task_type in {BUILTIN_TASK_NODE_REGRESSION, BUILTIN_TASK_NODE_CLASSIFICATION}:
model = gs.create_builtin_node_gnn_model(train_data.g, config, train_task=False)
elif config.task_type == {BUILTIN_TASK_EDGE_CLASSIFICATION, BUILTIN_TASK_EDGE_REGRESSION}:
elif config.task_type in {BUILTIN_TASK_EDGE_CLASSIFICATION, BUILTIN_TASK_EDGE_REGRESSION}:
model = gs.create_builtin_edge_gnn_model(train_data.g, config, train_task=False)

model_path = config.restore_model_path
Expand Down

0 comments on commit 96bdaf8

Please sign in to comment.