How to convert images to 512 vectors instead of 2048 vectors #2097
Unanswered
zhenzi0322
asked this question in
Q&A
Replies: 1 comment 1 reply
-
feat = towhee.glob(img_path) \
.image_decode() \
.image_embedding.timm(model_name='vgg16') \
.tensor_normalize() \
.to_list() And you can also list all timm model and try with them:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to convert images to 512 vectors instead of 2048 vectors.
At present, the converted DIM is 2048. How to convert it to 512DIM?
Beta Was this translation helpful? Give feedback.
All reactions