Postgresql – Reduce vector dimension 4096 -> less than 2000 for Postgres (pgvector)
I am using Postgresql with pgvector for searching similarity between images. The vector should have up to 2000 dimensions, so that Postgres/pgvector can index it. I am creating a vector of the image with Python and VGG16/VGG19. As a result,…