Skip to content

Unable to get topics for image only model #1887

Closed Answered by MaartenGr
owwdesilva asked this question in Q&A
Discussion options

You must be logged in to vote

I am not entirely sure but there might be something going on with this line:

MultiModalBackend = MultiModalBackend(embedding_model, batch_size=32)

You are overwriting a backend with a variable which might be an issue later on. Instead, do something like this:

embedding_model  = MultiModalBackend('clip-ViT-B-32', batch_size=32)

and pass that to embedding_model.

It seems you are using a different backend between saving and loading the model.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@owwdesilva
Comment options

@MaartenGr
Comment options

@owwdesilva
Comment options

@MaartenGr
Comment options

Answer selected by owwdesilva
@owwdesilva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants