Skip to content

Commit 19f18a5

Browse files
BowenYao18mfbalin
andauthored
Update examples/graphbolt/rgcn/download.py
Co-authored-by: Muhammed Fatih BALIN <[email protected]>
1 parent 06f3f29 commit 19f18a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/graphbolt/rgcn/download.py

+1
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ def process_label(file_path, num_class, dataset_size):
480480
assert new_array.shape[0] == 227130858
481481
assert np.array_equal(array, new_array)
482482
else:
483+
assert num_class == 19
483484
# new_array = np.memmap(file_path, dtype='int32', mode='r', shape=(num_nodes[dataset_size]["paper"], 1))
484485
new_array = np.load(file_path)
485486
assert new_array.shape[0] == num_nodes[dataset_size]["paper"]

0 commit comments

Comments
 (0)