Skip to content

Commit

Permalink
Merge pull request #2793 from activeloopai/fix_info_tensor2
Browse files Browse the repository at this point in the history
Fixed tensor "sample_info" on some saved view samples
  • Loading branch information
nvoxland-al committed Mar 13, 2024
2 parents f485b02 + 0536b8b commit 6ce32ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deeplake/core/tensor_link.py
Expand Up @@ -83,6 +83,8 @@ def extend_info(samples, link_creds=None, progressbar=False):
sample = sample.copy()
meta = sample.meta
meta["modified"] = False
if isinstance(sample, deeplake.Tensor):
meta = sample.sample_info
metas.append(meta)
return metas

Expand Down

0 comments on commit 6ce32ef

Please sign in to comment.