Skip to content

woctezuma/steam-BiT

Repository files navigation

Steam BiT: match Steam Banners with Google's BiT

This repository contains Python code to retrieve Steam games with similar store banners, using Google's BiT.

Image similarity is assessed by the cosine similarity between image features encoded by BiT.

Similar vertical banners

Model

BiT is a convolutional neural network based on a ResNet architecture:

  • pre-trained for classification on ImageNet-1k (1.28M images with 1000 classes) for BiT-S,
  • pre-trained for classification on ImageNet-21k (14M images with ~21k classes) for BiT-M.

In this repository, the image encoder is a BiT-R50x1 model, which results from the distillation of a BiT-M-R152x2. First, the teacher model is fine-tuned on ImageNet-1k. Then, the distillation is performed on ImageNet-1k.

Data

Data consists of vertical Steam banners (300x450 resolution), resized to 256x384 resolution.

This is performed with rom1504/img2dataset.

Usage

Alternatively, you can find the data as v0.1 in the "Releases" section of this repository.

References