I3D-Jax
Jax / Flax port of the original Kinetics-400 I3D network from TF
Installation
pip install i3d-jax
Usage
For convenience, we provide a wrapper to run inference on input videos
import i3d_jax
import numpy as np
video = np.random.randn(1, 16, 224, 224, 3) # B x T x H x W x C in [-1, 1]
i3d = i3d_jax.I3DWrapper(replicate=False) # set to True to auto-use pmap
# out returns a tuple of:
# 1) logits
# 2) a dictionary mapping endpoint names to features at each endpoint
out = i3d(video)
You can separate get the model and variables through:
import i3d_jax
# Load model
i3d_model = i3d_jax.InceptionI3d()
# Load variables (params + batch_stats)
variables = i3d_jax.load_variables(replicate=False)
Metadata
Release files for i3d-jax 0.0.1
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 | Actions |
|---|---|---|---|---|
| i3d_jax-0.0.1.tar.gz | 47.2 MB | Without provenance | Details for i3d_jax-0.0.1.tar.gz |
Release files / i3d_jax-0.0.1.tar.gz
| Download URL | i3d_jax-0.0.1.tar.gz |
|---|---|
| Size | 47.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e8e4b796d6d54fcbd8fb2aae71687db1be0f6ba6c364c75c560e9731f842867
|
|
BLAKE2b-256 checksum How to use checksums |
bcd0cf1c881e3d30fe319092c398f9d4663f0822b36e2ec5ee25c538dd953a96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Security for i3d-jax 0.0.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.