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 .
Metadata
Release files for vidarr 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vidarr-0.1.3.tar.gz | 19.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vidarr-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.4 kB
Release files / vidarr-0.1.3.tar.gz
| Download URL | vidarr-0.1.3.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b667dcdde4cbd7083df720c203428328c4a50b775e00bc1bbf256ecb05be421
|
|
BLAKE2b-256 checksum How to use checksums |
a9b0a048bb6967a503f39ee00bea17ddb2ccc2e974502e0c5722facf50c0be7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Release files / vidarr-0.1.3-py3-none-any.whl
| Download URL | vidarr-0.1.3-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6ce1054f1f0aacd7c0988ddff3a90505b6e998b818f41a19b8302b98baf7b15
|
|
BLAKE2b-256 checksum How to use checksums |
a4f18362e9da9bf50467abd13a124f10c8103db03ffbb9dd3da3a0c2639ed015
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Security for vidarr 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.