Skip to content

Check similarity between photos and Magic the Gathering artwork!

Notifications You must be signed in to change notification settings

chumpblocckami/MTG_CLIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTG IMAGE RETRIVAL

WORK IN PROGRESS This repo uses CLIP in order to detect similar images.

How to install:

  1. Run 'get_dataset.py' with yout favourite editions and get images
  2. Run 'trainer.py' to train the model
  3. Run 'predictor.py' with you image.

Files and folders

  • dataset: where the images are stored (output get_dataset.py)
  • embeddings: where the images embeddings are stored (output trainer.py)
  • images: where input images and results are stored (output predictor.py)
  • pca.npz: binary file that describes the PCA used to reduce feature in model, needed for inference (output of imgebeddings model)

Results:

results_1 results_2 results_3

IMPORTANT:

This repo needs Tensorflow, Pytorch or Flax installed.

TODO:

  • docker
  • API
  • Benchmark
  • fix predictor output

About

Check similarity between photos and Magic the Gathering artwork!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages