Skip to content

updated readme for vit#99

Open
mosesdaudu001 wants to merge 1 commit intoivy-llc:mainfrom
mosesdaudu001:readme-update
Open

updated readme for vit#99
mosesdaudu001 wants to merge 1 commit intoivy-llc:mainfrom
mosesdaudu001:readme-update

Conversation

@mosesdaudu001
Copy link
Contributor

Updated Vit with better usage example

ivy_vit_h_14 = vit_h_14(pretrained=True)

# Convert the Torch image tensor to an Ivy tensor and adjust dimensions
img = ivy.asarray(torch_img.permute((0, 2, 3, 1)), dtype="float32", device="gpu:0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Really sorry for the late review here, it slipped through somehow 😅
Just a small detail, could you please load an image (or the nparray file, whichever is relevant) from the image folder in the repo, and update the returned results if necessary? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants