Last active
October 31, 2021 07:06
-
-
Save MaartenGr/2af4b0bbcf15d914ca11f22f34df4222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from concept import ConceptModel | |
# Train Concept using the pre-trained image embeddings | |
concept_model = ConceptModel() | |
concepts = concept_model.fit_transform(img_names, | |
image_embeddings=image_embeddings, | |
docs=selected_nouns) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment