Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Remove autosave
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbieker committed Jul 27, 2021
1 parent ea0acef commit bb5375b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions satflow/data/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,14 +493,6 @@ def __iter__(self):
if not self.use_image:
yield image, target_mask
else:
output_dir = "/run/media/jacob/data/satflow_prev6_skip3_notime/"
i = np.random.randint(0, 200000)
np.savez_compressed(
output_dir + f"{'train' if self.train else 'val'}_{i}.npz",
images=image,
future_images=target_image,
masks=target_mask,
)
yield image, target_image, target_mask

def get_topo_latlon(self, sample: dict) -> None:
Expand Down

0 comments on commit bb5375b

Please sign in to comment.