Skip to main content

Quick-Tune: Quickly Learning Which Pretrained Model to Finetune and How

Project description

QuickTune (WIP)

Quick-Tune: Quickly Learning Which Pre Trained Model to Fine Tune and How ICLR2024

This repo contains the code for running experiments with QuickTune

Architecture

Run QuickTune

Prepare Environment

To install QuickTune, you can simply use pip:

pip install quicktune

This project depends on a custom version of timm, which is not available on PyPI. You can install it by running the following command:

pip install git+https://github.com/rapanti/qt_timm

Download the QuickTune Meta-Dataset:

wget https://rewind.tf.uni-freiburg.de/index.php/s/oMxC5sfrkA53ESo/download/qt_metadataset.zip
unzip qt_metadataset.zip

Download the metalearned Optimizer

wget https://rewind.tf.uni-freiburg.de/index.php/s/XBsMjps5n3N9we6

Prepare Custom Dataset

The custom dataset must be in Pytorch's ImageFolder format, e.g. download the Imagenette dataset:

wget https://s3.amazonaws.com/fast-ai-imageclas/imagenette2-320.tgz
tar -xvzf imagenette2-320.tgz

Modify the quicktuning script in the examples folder to your needs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quicktune-0.0.4.tar.gz (69.8 kB view details)

Uploaded Source

Built Distribution

quicktune-0.0.4-py3-none-any.whl (80.2 kB view details)

Uploaded Python 3

File details

Details for the file quicktune-0.0.4.tar.gz.

File metadata

  • Download URL: quicktune-0.0.4.tar.gz
  • Upload date:
  • Size: 69.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for quicktune-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b7aa8a3687308c0e54ae08075d45a04e9375a70cf465dd2665daebaf97bb9f94
MD5 de79e50b9950d3d6c93bffff6e1a8c71
BLAKE2b-256 6d1806d977eabadecc206d835f3ad8a5e2f0d7a8c7248f52068b49d2d269c626

See more details on using hashes here.

File details

Details for the file quicktune-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: quicktune-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 80.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for quicktune-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cfcb8e9b189c8836dcb26d0916ee4b8b5d21ec21b1c36502ae0877be802eb0ec
MD5 0695a9d23ad77a16a7bfd5b69fd9e687
BLAKE2b-256 e9807c93d8d28ce308098debba8b46f06fef94e3ea8c99263b7b4c89526a3575

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page