Closed lanalex closed 1 year ago
Thanks @lanalex for pointing out this bug and unclear documentation. It will be fixed in 0.917 to be released later today.
@dbickson Just to clarify the error is not only the dimension. It has some issues that the dataframe input structure. if you can also test it with passing a yolo compatible dataframe (a dataframe with img_filename, bbox_h, bbox_w etc). I had to add an index column (explictly) and modify the code a bit to get it to work. Otherwise it falls on an assert ``` assert 'index' in df_mapping.columns and 'filename' in df_mapping.columns
When passing embeddings=embeddings_matrix (shape = (N, embedding_dim) np array of type float 32 (also ta simple doc example for using this case would be much appreciated :) ). In fastdup.run, the code throws an error that the embedding dim is different form 576 . Because of this The expected behaviour that the embedding dim will be automatically deduced.