Giter Site home page Giter Site logo

peternara / 1st-place-solution-in-google-universal-image-embedding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shihaoshao-gh/1st-place-solution-in-google-universal-image-embedding

0.0 0.0 0.0 7.15 MB

1st Place Solution in Google Universal Image Embedding

License: Apache License 2.0

Python 6.19% Makefile 0.01% Jupyter Notebook 93.80%

1st-place-solution-in-google-universal-image-embedding's Introduction

1st Solution in Google Universal Image Embedding

Shihao Shao[[email protected]]

Qinghua Cui[[email protected]]

1st place code in Google Universal Image Embedding is now avaliable!๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

If you have any further question, Please kindly e-mail us.

The detailed solution can be found here.

Data preparation

Please download the following datasets:

Products-10K
Shopee
MET Artwork Dataset
Alibaba goods
H&M Personalized Fashion
GPR1200
GLDv2-Full
DeepFashion - Consumer-to-shop Clothes Retrieval Benchmark part

Place them into ROOT_PATH/DATA, and run:

python datasets_processing.py

The preprocessed datasets will present in ROOT_PATH/data_preprocess

Pretrained weights preparation

Put vit-h-14-laion2b_s32b_b79k.pth into the pretrained_weights/

Training

Install open_clip_280,

cd open_clip_280
pip install -e .

Run the following commands in order:

python -m torch.distributed.run --nproc_per_node=4 --master_addr 127.0.1.0 --master_port 10000 training*.py

where * should end with s*.pth, please run from s1 to s13.

Please note that when you finish s9, run:

cd open_clip_280_overlap
pip install -e .

then run the rest of s*.

1st-place-solution-in-google-universal-image-embedding's People

Contributors

shihaoshao-gh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.