Skip to content

Commit

Permalink
numpy version fix (#2567)
Browse files Browse the repository at this point in the history
  • Loading branch information
adolkhan committed Aug 29, 2023
1 parent 9850dfd commit 9b77983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeplake/core/vectorstore/vector_search/dataset/dataset.py
Expand Up @@ -433,7 +433,7 @@ def extend(
if diff > 0:
time.sleep(diff)
try:
embedded_data = np.vstack(embedded_data, dtype=np.float32)
embedded_data = np.vstack(embedded_data).astype(dtype=np.float32)
except ValueError:
raise IncorrectEmbeddingShapeError()

Expand Down

0 comments on commit 9b77983

Please sign in to comment.