Skip to content

Commit

Permalink
Dataset updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Anwar-Said committed Nov 15, 2023
1 parent b77d832 commit bf992dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from NeuroGraph.datasets import NeuroGraphStatic
from NeuroGraph.datasets import NeuroGraphDataset
import argparse
import torch
import torch.nn.functional as F
Expand Down Expand Up @@ -48,7 +48,7 @@ def logger(info):
np.random.seed(args.seed)


dataset = NeuroGraphStatic(root=root, dataset_name= args.dataset)
dataset = NeuroGraphDataset(root=root, name= args.dataset)
print(dataset.num_classes)
print(len(dataset))

Expand Down Expand Up @@ -95,7 +95,7 @@ def test(loader):
return correct / len(loader.dataset)

val_acc_history, test_acc_history, test_loss_history = [],[],[]
seeds = [123,124,125,126,127,128,129,221,223,224,228,229]
seeds = [123,124]
for index in range(args.runs):
start = time.time()
torch.manual_seed(seeds[index])
Expand Down

0 comments on commit bf992dd

Please sign in to comment.