In relation to the following article, I created a notebook for performing similar image search using VGG16.

The notebook is available here:

https://colab.research.google.com/github/nakamura196/ndl_ocr/blob/main/[vgg16]_Image_Similarity_Search_in_PyTorch.ipynb

You can verify the operation by selecting “Runtime” > “Run all.”

We hope this serves as a useful reference.