We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 322766f commit b4e9ff5Copy full SHA for b4e9ff5
deepsensor/data/loader.py
@@ -191,7 +191,6 @@ def __init__(
191
) = self.infer_context_and_target_var_IDs()
192
193
self.coord_bounds = self._compute_global_coordinate_bounds()
194
- self.coord_directions = self._compute_x1x2_direction()
195
196
def _set_config(self):
197
"""Instantiate a config dictionary for the TaskLoader object."""
@@ -1449,6 +1448,7 @@ def sample_sliding_window(
1449
1448
List[float]
1450
Sequence of patch spatial extent as [x1_min, x1_max, x2_min, x2_max].
1451
"""
+ self.coord_directions = self._compute_x1x2_direction()
1452
# define patch size in x1/x2
1453
size = {}
1454
size["x1"], size["x2"] = patch_size
0 commit comments