Skip to main content

Add your description here

Project description

vidarr

Installation

pip install vidarr

Usage

Train your classifier

import vidarr

if __name__ == "__main__":
    vidarr.train(
        model_name="timm/efficientvit_m5.r224_in1k",
        train_dir="/image_datasets/jpeg_experiment/train_data",
        val_dir="/image_datasets/jpeg_experiment/val_data",
        num_epochs=20,
        batch_size=1024,
        learning_rate=5.0e-05,
        scheduler_type="cosine",
        warmup_steps=0.10,
        num_threads=12,
        image_size=224,
        image_crop=224,
        use_scaler=False,
        use_compile=True,
        metric_type="binary",
        criterion_type="bcewithlogits",
        profiler_dir="./log/tinyvit",
    )

Analyze the profiling trace

import vidarr

if __name__ == "__main__":
    vidarr.analyze_run(
        breakdown="temporal",
        trace_dir="/log/tinyvit"
    )

Contributing

uv pip install -e .
ruff check --select I --fix .
ruff format .

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

vidarr-0.1.2.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vidarr-0.1.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file vidarr-0.1.2.tar.gz.

File metadata

  • Download URL: vidarr-0.1.2.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for vidarr-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ff50c251307f2c35236ba5ced7d3bf96877e6fb02f453248c5f7164a8c5bcb37
MD5 4744cc6862788567ccd9f31480bc8620
BLAKE2b-256 c33badfefe183ca4870fb6385b8c4cfc11dc089c26742c4b32146d0d7e576e1f

See more details on using hashes here.

File details

Details for the file vidarr-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: vidarr-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for vidarr-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a56f957f8d9f0c98c72ea1d9a4017fbbb40a0c6ec4bf4bf80bb560b143385f1e
MD5 b33f7dcfa5a99894e621acf75c7cc751
BLAKE2b-256 97d452ea17db146f018f74a01f6eeaea77757d5957c3f2255ef7dfdd46a4a3a1

See more details on using hashes here.

Supported by

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