Skip to content

Commit

Permalink
Fix PEP8 failure
Browse files Browse the repository at this point in the history
  • Loading branch information
guanxingithub committed Jun 5, 2024
1 parent 650a91e commit ba1278c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/ogbn_papers_100m_sage.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
data,
input_nodes=split_idx['test'],
num_neighbors=[args.fan_out] * num_layers,
#num_neighbors=[2*args.fan_out] * num_layers,
batch_size=batch_size,
shuffle=True,
num_workers=num_workers,
Expand Down Expand Up @@ -215,7 +214,6 @@ def test(loader: NeighborLoader, val_steps=None):

test_accs = []
val_accs = []
#for run in range(1, 11):
times = []
train_times = []
inference_times = []
Expand Down Expand Up @@ -246,7 +244,6 @@ def test(loader: NeighborLoader, val_steps=None):
inference_times.append(time.time() - inference_start)
test_accs.append(test_acc)
val_accs.append(val_acc)
#if log_interval and epoch % log_interval:
print(f'Train: {train_acc:.4f}, Val: {val_acc:.4f}, '
f'Test: {test_acc:.4f}')

Expand Down

0 comments on commit ba1278c

Please sign in to comment.