Skip to content

Commit

Permalink
Merge commit 'bfc1cd0756b2e012f1529dfc368345f0a33faad0' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
ouioui199 committed Jan 10, 2025
2 parents 2de2752 + bfc1cd0 commit 0dfa3c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/torchcvnn/datasets/sample/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def __getitem__(self, index: int) -> Tuple[torch.Tensor, int]:
]
}

meta = {k: v[0][0].astype(np.float32) for k, v in meta.items()}

complex_img = data["complex_img"][:, :, np.newaxis]

class_idx = self.class_names.index(key)
Expand Down

0 comments on commit 0dfa3c5

Please sign in to comment.