Ejemplo n.º 1
0
 def __init__(self, modelObject, opt, train_loader, val_loader):
     Trainer.__init__(self, modelObject, opt, train_loader, val_loader)
Ejemplo n.º 2
0
 def __init__(self, modelObject, opt, train_loader, val_loader):
     Trainer.__init__(self, modelObject, opt, train_loader, val_loader)
     from model.detection_model.TextSnake_pytorch.util import global_data
     global_data._init()