druta (द्रुत) - A fast video dataset format for PyTorch (for when storage isn't a problem)
Project description
druta (द्रुत)
A fast video dataset format for PyTorch (for when storage isn't a problem)
import druta
druta.prep_dataset(
video="video.mp4",
save_as="video.druta",
num_threads=4,
)
dataset = druta.Dataset(
filename="video.druta",
)
for i in range(len(dataset)):
frame = dataset[i]
## (height, width, 3)
print(f"Frame {i} shape: {frame.shape}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
druta-0.0.0.tar.gz
(5.5 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
druta-0.0.0-py3-none-any.whl
(4.5 kB
view details)
File details
Details for the file druta-0.0.0.tar.gz.
File metadata
- Download URL: druta-0.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
966aeb256c797fd9e70f1d5ac4a866a4df77faca7601d5124520864bc6acb518
|
|
| MD5 |
0592bdbe09bd41e9dfdb584964784389
|
|
| BLAKE2b-256 |
9783d00b0373b23a43c9c28157998abd5a6eaff1163ee88954ba6f9aafd1da0e
|
File details
Details for the file druta-0.0.0-py3-none-any.whl.
File metadata
- Download URL: druta-0.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bdf7f61ee158d8799e31be7eae0e9474ec667595930c956aecd9fb9a45f5cc9
|
|
| MD5 |
59e44768319117c4ab35cae274de645a
|
|
| BLAKE2b-256 |
b8c4d5697d398984f04013d79f6a8a4dba80b26922f7e66470683f729566a5f1
|