GithubHelp home page GithubHelp logo

nishika_jpo_2nd_solution's Introduction

概要

Nishika AI×商標:イメージサーチコンペティション(類似商標画像の検出)
2nd place solution
Discussion:https://www.nishika.com/competitions/22/topics/213

OSなど

  • Ubuntu 18.04.6
  • CUDA Version 11.2
  • Python 3.7.12

必要なライブラリ

  • Docker image : gcr.io/kaggle-gpu-images/python:v107
  • pytorch-lightning
  • pytorch-metric-learning
  • timm
  • augly
  • addict
  • rich
  • faiss-cpu
pip install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
pip install torchtext==0.11.1 pytorch-lightning==1.5.8 pytorch-metric-learning==1.1.0 timm==0.5.4 augly==0.2.1 addict==2.4.0 rich==11.0.0 faiss-cpu==1.7.2
pip install -U scikit-learn
apt-get install python3-magic

乱数シードなどの設定値情報

  • config フォルダの各yamlファイルに設定値を記載しています

モデルの学習から予測まで行う際の、ソースコードの実行手順

  1. dataフォルダへcompetitionデータを保存(要zip解凍)
  2. python preprocess.py (前処理)
  3. python train_convnext.py (ConvNext学習)
  4. python train_swin.py (Swin Transformer学習)
  5. settings.jsonUSE_PRETRAINFalseに設定
  6. python make_submit.py (Submitファイル作成)

nishika_jpo_2nd_solution's People

Contributors

anyai-28 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.