Skip to content

Commit

Permalink
more tests and refactoring mixin classes
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Aug 17, 2023
1 parent 6bf57be commit c67e249
Show file tree
Hide file tree
Showing 9 changed files with 2,120 additions and 1,383 deletions.
719 changes: 462 additions & 257 deletions sup3r/pipeline/forward_pass.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions sup3r/preprocessing/batch_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,9 +1394,9 @@ def __next__(self):
)
val_indices = self.val_indices[self._i]
for i, idx in enumerate(val_indices):
high_res[i, ...] = self.handlers[idx['handler_index']].data[
idx['tuple_index']
][..., 0, :]
high_res[i, ...] = self.data_handlers[
idx['handler_index']
].data[idx['tuple_index']][..., 0, :]

batch = self.BATCH_CLASS.get_coarse_batch(
high_res,
Expand Down
Loading

0 comments on commit c67e249

Please sign in to comment.