Spaces:
Sleeping
Sleeping
Download O2LaF/o2laf/action_encoders/__init__.py from blanchon/O2LaF-Demo: direct link, hf CLI and curl.
- Browser
- Download file 641 Bytes
-
https://huggingface.co/spaces/blanchon/O2LaF-Demo/resolve/main/O2LaF/o2laf/action_encoders/__init__.py
- Command line
-
hf download hf://spaces/blanchon/O2LaF-Demo/O2LaF/o2laf/action_encoders/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/blanchon/O2LaF-Demo/resolve/main/O2LaF/o2laf/action_encoders/__init__.py
641 Bytes
| """Action encoders: models that infer latent actions from video. | |
| This inference-only copy keeps :mod:`~o2laf.action_encoders.wan_dit`, which reads | |
| Wan VAE latents with the Wan DiT trunk (the encoder every released model uses). | |
| """ | |
| from o2laf.action_encoders import wan_dit # noqa: F401 (registration) | |
| from o2laf.action_encoders.base import build_action_encoder_spec | |
| from o2laf.utils.registry import ACTION_ENCODER_REGISTRY | |
| def build_action_encoder(name): | |
| """Return the action encoder class registered under ``name``.""" | |
| return ACTION_ENCODER_REGISTRY.get(name) | |
| __all__ = ['build_action_encoder', 'build_action_encoder_spec'] | |