This is a re-implementtation in google colab of this post [1] published in 2020. Initially when I attemptetd to re-implement [1] as is in google colab, it threw some errors and I had to do modifications to re-work it. Thus for reproducibility I decided to share my code in this repo.
[1] https://towardsdatascience.com/how-to-cluster-images-based-on-visual-similarity-cd6e7209fe34