Concept icon indicating copy to clipboard operation
Concept copied to clipboard

Concept Modeling: Topic Modeling on Images and Text

Results 13 Concept issues
Sort by recently updated
recently updated
newest added

Hi, thanks for your awesome libraries. Just a short question: In this line: https://github.com/MaartenGr/Concept/blob/d270607d6ea4d789a42d54880ab4a0c977bb69ce/concept/_model.py#L304 you're casting the numpy int64s to integers, presumably so they can be used as indexes? In...

Running a Concept example on OS S Monterey 12.3.1 ...Transformers/Image_utils #143: return (image - mean) / std image is (4,224,224) mean is (3,) std is (3,) ``` Python 3.8.13 %...

What do recommend setting max_open_files to? ``` images = [Image.open("photos/"+filepath) for filepath in tqdm(img_names[:5000])] image_names = img_names[:5000] image_embeddings = img_embeddings[:5000] 54%|███████████████████▍ | 2693/5000 [00:00 1 images = [Image.open("photos/"+filepath) for filepath...

I ran the sample code for a custom data set and got the following error when I tried to visualize the concepts. Any help here would be appreciated. ![image](https://user-images.githubusercontent.com/11460312/163705749-4d288345-459e-406a-be32-42da73d2d6ab.png)

Hello, Thank you for sharing you great work. I'd like to have a better understanding of the "fit_transform" function. > How do you intend to use the parameter "image_names" ?...

I was reproducing the same Colab notebook in the ReadME without any change: https://colab.research.google.com/drive/1XHwQPT2itZXu1HayvGoj60-xAXxg9mqe?usp=sharing#scrollTo=VcgGxrLH-AU9 While importing the library `from concept import ConceptModel`, this error appears: TypeError: __init__() got an unexpected...

Code for English: ``` from concept import ConceptModel concept_model = ConceptModel() concepts = concept_model.fit_transform(images, docs) # Works correctly! ``` Guide suggests "Use Concept(embedding_model="clip-ViT-B-32-multilingual-v1") to select a model that supports 50+...

Trying to run this code on Google Colab and seeing this error now. Simply just trying to use the demo provided in this repo, but now it's throwing the following...

AttributeError: 'ConceptModel' object has no attribute 'image_cluster_df' Reinstalled sklearn to pre 1.0 from this thread: https://github.com/MaartenGr/Concept/issues/19 still getting the error.

Currently we only get the predicted class through `concept_model.transform()` Can we get the predicted probabilities for each cluster or the top n clusters?