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.3.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.3-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vidarr-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1b667dcdde4cbd7083df720c203428328c4a50b775e00bc1bbf256ecb05be421
MD5 9014fb1252c261395ec9449fd4bea24b
BLAKE2b-256 a9b0a048bb6967a503f39ee00bea17ddb2ccc2e974502e0c5722facf50c0be7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vidarr-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f6ce1054f1f0aacd7c0988ddff3a90505b6e998b818f41a19b8302b98baf7b15
MD5 e88ac388cb98c75279cbce96e5b04aaf
BLAKE2b-256 a4f18362e9da9bf50467abd13a124f10c8103db03ffbb9dd3da3a0c2639ed015

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