GRAAL-Research / deepparse

Deepparse is a state-of-the-art library for parsing multinational street addresses using deep learning

Home Page:https://deepparse.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pretrained model doesn't need to inherit from nn.Module

MAYAS3 opened this issue · comments

https://github.com/MAYAS3/deepparse/blob/dbc7236ed31e3878487298adbe99967561501a75/deepparse/network/pre_trained_seq2seq.py#L14

since we us this class as a wrapper and we do not aim to optimize the pretrained models, we do not have to inherit from nn.module here

Uhm, no since we need to put the model in eval mode.

It seems not necessary, #27 ?

Oh I see... Right!