Skip to content

Commit

Permalink
support time window
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jun 11, 2024
1 parent d281e42 commit 228189c
Show file tree
Hide file tree
Showing 5 changed files with 624 additions and 620 deletions.
3 changes: 2 additions & 1 deletion examples/sampling/graphbolt/temporal_link_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
└───> Test set evaluation
"""

import argparse
import os
import time
Expand Down Expand Up @@ -282,7 +283,7 @@ def main(args):
print("Loading data")
# TODO: Add the datasets to built-in.
dataset_path = download_datasets(args.dataset)
dataset = gb.OnDiskDataset(dataset_path).load()
dataset = gb.OnDiskDataset(dataset_path, force_preprocess=True).load()

# Move the dataset to the selected storage.
graph = dataset.graph.to(args.storage_device)
Expand Down
Loading

0 comments on commit 228189c

Please sign in to comment.