tensorflow / similarity

TensorFlow Similarity is a python package focused on making similarity learning quick and easy.
Apache License 2.0
1.01k stars 104 forks source link

[Typo] Lables instead of labels #333

Closed Lunatik00 closed 1 year ago

Lunatik00 commented 1 year ago

in tensorflow_similarity/stores/memory_store.py there is a typo in the line 204 ''' data = { "embeddings": self.embeddings[:num_records], "data": self.data[:num_records], "lables": self.labels[:num_records], } '''

the string says lables instead of labels.

I decided to just report it instead of modifying the file because it might break functionality of a saved index.

owenvallis commented 1 year ago

Thanks for catching this. I pushed fixes as this was only in the to_dataframe method and shouldn't break any of the saved indexes.