Shopee Price Match

Computer Vision
Image Recognition
SiameseNN
CNNs
fastai
torch
Competition
Published

June 16, 2021

Decide whether two images describe the same item or not.

This problem is often encountered in online retail: if you can automatically decide whether an image of a product your competitor offers is the same as yours, you can adjust the price of yours and gain an edge. The advantage of the SiameseImage class is, that for every epoch, every image gets paired with a different image (instead of pairing the image once for all training) to augment the dataset and prevent overfitting. In this project I refined the fastai SiameseImage class and DataLoader method, to make use of a given dataframe that contains the items labels and speed up the dataloading process.