gnes.encoder.video.yt8m_model module

class gnes.encoder.video.yt8m_model.YouTube8MEncoder(model_dir: str, model_name: str, *args, **kwargs)[source]

Bases: gnes.encoder.base.BaseVideoEncoder

batch_size = 64
encode(data: List[np.ndarray], *args, **kwargs) → numpy.ndarray[source]
post_init()[source]

Declare class attributes/members that can not be serialized in standard way

train(*args, **kwargs)

Train the model, need to be overrided