gnes.preprocessor.image.resize module

class gnes.preprocessor.image.resize.ResizeChunkPreprocessor(target_width=224, target_height=224, *args, **kwargs)[source]

Bases: gnes.preprocessor.image.resize.SizedPreprocessor

apply(doc)[source]
Return type:None
train(*args, **kwargs)

Train the model, need to be overrided

class gnes.preprocessor.image.resize.SizedPreprocessor(target_width=224, target_height=224, *args, **kwargs)[source]

Bases: gnes.preprocessor.base.BaseImagePreprocessor

train(*args, **kwargs)

Train the model, need to be overrided