Skip to content

Commit

Permalink
dataset type integration contd.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbinschmid committed Aug 31, 2024
1 parent 71211b7 commit ae3ef4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion code/datasets/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def __call__(self, data):
data.face = torch.tensor(data.triangulation).T - 1
data.num_nodes = data.face.max() + 1
data.triangulation = None
print(data, "m")
return data


Expand Down
4 changes: 3 additions & 1 deletion code/experiments/utils/run_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ def get_setup(
) -> Tuple[SimplicialDataModule, BaseModel, L.Trainer, WandbLogger]:
run_id = str(uuid.uuid4())
transforms = transforms_lookup[config.transforms]
task_lookup: Dict[TaskType, Task] = get_task_lookup(transforms)
task_lookup: Dict[TaskType, Task] = get_task_lookup(
transforms, ds_type=config.ds_type
)

dm = SimplicialDataModule(
ds_type=config.ds_type,
Expand Down

0 comments on commit ae3ef4e

Please sign in to comment.