Skip to content

Commit

Permalink
flush on error
Browse files Browse the repository at this point in the history
  • Loading branch information
FayazRahman committed May 10, 2023
1 parent 79c1f1a commit 176eb39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deeplake/util/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ def store_data_slice_with_pbar(pg_callback, transform_input: Tuple) -> Dict:
ignore_errors,
)
except Exception as e:
transform_dataset.flush()
err = e
finally:
# retrieve relevant objects from memory
Expand Down

0 comments on commit 176eb39

Please sign in to comment.