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

Commit

Permalink
Fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris committed May 12, 2021
1 parent 9cf62ee commit 2dc2410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash_examples/predict/image_embedder.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
random_image = torch.randn(1, 3, 244, 244)

# 6. Generate an embedding from this random image.
embeddings = embedder.predict(random_image, data_source="tensor")
embeddings = embedder.predict(random_image, data_source="tensors")

# 7. Print embeddings shape
print(embeddings[0].shape)

0 comments on commit 2dc2410

Please sign in to comment.