Skip to content

Commit

Permalink
fix seq_divide_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
nnaakkaaii committed Jun 22, 2024
1 parent 53594c2 commit bb447de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hrdae/dataloaders/datasets/seq_divide_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __len__(self) -> int:
return len(self.base) * self.period # type: ignore

def __getitem__(self, index: int) -> dict[str, Tensor]:
x = self.base[index // self.period]["x+"]
x = self.base[index // self.period]["xp"]
return {
"x": x[index % self.period],
"t": x[index % self.period],
Expand Down

0 comments on commit bb447de

Please sign in to comment.