Spaces:
Sleeping
Sleeping
File size: 641 Bytes
19583ce | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """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']
|