gnes.encoder.video.incep_mixture module

class gnes.encoder.video.incep_mixture.IncepMixtureEncoder(model_dir_inception, model_dir_mixture, select_layer='PreLogitsFlatten', feature_size=300, vocab_size=28, cluster_size=256, method='fvnet', input_size=1536, vocab_size_2=174, max_frames=30, multitask_method='Attention', *args, **kwargs)[source]

Bases: gnes.encoder.base.BaseVideoEncoder

batch_size = 64
encode(data, *args, **kwargs)[source]
Return type:ndarray
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