Git Product home page Git Product logo

iccv2023-ood-cv-challenge-classification-track-self-supervised-pretrain-3rd-place-solution's Introduction

Requirement

  • Create a conda virtual environment and activate it.
conda create --name ood2023 python=3.8.13
conda activate ood2023
conda install pytorch==1.13.1 torchvision==0.14.1 -c pytorch
  • Install the dependent libraries.
pip install -r requirements.txt

Data Preparation

  • Download the data set from the official website and organize it into the following data structure.
dataset/OODCV2023
    train
	Images
            aeroplane/
	    ...
            train/
    	labels.csv
    phase1-test-images
    phase2-test-images

Getting Started

train

  • We use one Nvidia Tesla 4090 (24G) GPU for training. You need to modify the params in the configs/beitv2.yaml file or configs/eva02.yaml before training, like: data model or pretrained weight path in pretrained_cfg. Run different bash files for different models.
./train_eva02.sh 0 or ./train_beitv2.sh 0

Test

  • You need to modify the checkpoint_list in the eval_tta.py file before testing.
python eval_tta.py

iccv2023-ood-cv-challenge-classification-track-self-supervised-pretrain-3rd-place-solution's People

Contributors

itsnotacie avatar

Stargazers

 avatar  avatar ZQ.W avatar  avatar Youcheng Li avatar  avatar Zhapy avatar  avatar yhzhouowo avatar Nich avatar  avatar Owen718 avatar  avatar Steph0903 avatar taiyan avatar bzcloud avatar  avatar  avatar Anonymous avatar  avatar YiyangHU avatar  avatar  avatar FANG GUOTONG avatar  avatar  avatar  avatar 1372522082 avatar  avatar

Watchers

 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.