Skip to main content

Accelerated deep learning.

Project description

Gradient Mechanics

Benchmarks

HuggingFace Image Dataset

uv run python src/tests/benchmark_huggingface_images.py

Video Dataset

uv run python src/tests/benchmark_video_dataset.py data/humming_bird_1s.mp4

Transcoding

Keyframes Only

ffmpeg -i data/humming_bird_1s.mp4 -c:v libx264 -x264-params keyint=1:scenecut=0 -crf 18 data/humming_bird_1s_keyframes_only.mp4

Inspect Encoding

ffprobe -loglevel error -select_streams v:0 -show_entries frame=pict_type -of default=noprint_wrappers=1 data/humming_bird_1s_keyframes_only.mp4

Terminology:

  • I-frame is a key frame. Decoding a keyframe is not dependent on other frames.
  • P-frame is a predicted frame. It is dependent on an preceding frame.
  • B-frame is a bi-directional predicted frame. It depends on a preceding and a succeeding frame.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

gradient_mechanics-0.0.3-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file gradient_mechanics-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for gradient_mechanics-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2af4295ff643397f765e6fe2da006df543b973af283a94c6852245d09bea3805
MD5 f27a55d92694fee976205f6e75ed7b24
BLAKE2b-256 470fb45c89186c1e871ca96bc880c88881b399371c338a7a1b0dbb9f8e8e3abb

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