Skip to content

Commit

Permalink
[Graphbolt] Polish. (#6520)
Browse files Browse the repository at this point in the history
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
  • Loading branch information
frozenbugs and Ubuntu committed Nov 3, 2023
1 parent 325e67c commit 9ef950a
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions examples/sampling/graphbolt/quickstart/cora/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@ tasks:
- format: numpy
in_memory: true
name: seed_nodes
path: train_node.npy
path: nodeclassification/train-node.npy
- format: numpy
in_memory: true
name: labels
path: train_label.npy
path: nodeclassification/train-label.npy
type_name: null
validation_set:
- data:
- format: numpy
in_memory: true
name: seed_nodes
path: valid_node.npy
path: nodeclassification/valid-node.npy
- format: numpy
in_memory: true
name: labels
path: valid_label.npy
path: nodeclassification/valid-label.npy
type_name: null
test_set:
- data:
- format: numpy
in_memory: true
name: seed_nodes
path: test_node.npy
path: nodeclassification/test-node.npy
- format: numpy
in_memory: true
name: labels
path: test_label.npy
path: nodeclassification/test-label.npy
type_name: null
4 changes: 2 additions & 2 deletions tests/examples/test_sampling_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
)


def test_gcn():
script = os.path.join(EXAMPLE_ROOT, "gcn.py")
def test_node_classification():
script = os.path.join(EXAMPLE_ROOT, "node_classification.py")
out = subprocess.run(["python", str(script)], capture_output=True)
assert out.returncode == 0
stdout = out.stdout.decode("utf-8")
Expand Down

0 comments on commit 9ef950a

Please sign in to comment.