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.1.tar.gz
(18.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
vidarr-0.1.1-py3-none-any.whl
(18.9 kB
view details)
File details
Details for the file vidarr-0.1.1.tar.gz.
File metadata
- Download URL: vidarr-0.1.1.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2393b3cbe98d43bf850f789684fd89eaec867f333890d89fd4c47d8e5543db5
|
|
| MD5 |
f5c8e4d2b52a26b0944db5e476b93329
|
|
| BLAKE2b-256 |
c414dc786750987c21f4b261ad641f34a5d8d4a15c0165f9b7ecbbe55fea7d74
|
File details
Details for the file vidarr-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vidarr-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef7ac18617e2de158cef1234fd49d099bc1cf89b88dbf6e78a3c5baa603eecf6
|
|
| MD5 |
d35107beb796bce9c69e56e317105d30
|
|
| BLAKE2b-256 |
c0746e4b34906354fd00c79dc33305c1d9357a38bf79cbff1c8d7b2a635613a4
|