Skip to content

Commit

Permalink
fixing to_data_list
Browse files Browse the repository at this point in the history
  • Loading branch information
levtelyatnikov committed May 14, 2024
1 parent ec42f1e commit 7721ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topobenchmarkx/data/dataloaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def collate_fn(batch):
# Ensure shape is torch.Tensor
# "shape" describes the number of n_cells in each graph
batch["shape"] = torch.Tensor(batch["shape"]).long()
to_data_list(batch)

return batch


Expand Down

0 comments on commit 7721ac9

Please sign in to comment.