Giter VIP home page Giter VIP logo

pyra's Introduction

PYRA

The official implementation of our ECCV 2024 publication, PYRA (Parallel Yielding Re-Activation).

News

  • 2024-08-19: We have released our source code for PYRA!

  • 2024-07-17: The arXiv version of our ECCV final submission is now released!

  • 2024-07-03: The code coming soon. We promise that it will be available before the main conference date.

Preparation

Datasets

We use the VTAB-1k dataset to evaluate our proposed PYRA. Use instructions in directory data/vtab-source to build VTAB-1k dataset locally (Internet access is demanded).

Environment

We use Anaconda or Miniconda to maintain the fine-tuning environment of PYRA. Simply follow the following instructions to prepare the environment:

conda create -n PYRA python=3.8
conda activate PYRA
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch
conda install timm==0.5.4 jupyter
pip install scikit-image ptflops easydict PyYAML pillow opencv-python scipy mmcv==1.7.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -U fvcore

You can use other mirrors beside tuna.tsinghua.edu.cn as long as everything is installed successfully.

Checkpoints

Use this link to download all pre-trained model weights used for task adaptation in PYRA. After downloading all model checkpoints, unzip them to the weight/ directory under the main directory (PYRA/).

Training & Evaluation

We provide training scripts for the experiments reported in the article. In the default pipeline, evaluation is executed in between training epochs. All training details are saved in the logs/ directory. You can browse the results and training details in the folders of corresponding experiments.

To conduct fine-tuning, simply run the scripts under the scripts/ directory.

WARNING: Simply training PYRA with prompt tuning leads to problems, as prompt tokens might be merged!

FAQs

If you have any questions, please submit the issues describing your question as detailed as possible. If you don't see our reply in a fairly long time, please email me at: [email protected].

Acknowledgments

This codebase is built upon NOAH, ToMe, and timm.

Many thanks to their great work!

pyra's People

Contributors

bostoncake avatar

Stargazers

 avatar  avatar Kenny Voo  avatar  avatar  avatar  avatar Liang Chen avatar Xianing Chen avatar  avatar  avatar

Watchers

Kostas Georgiou avatar  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.