dgs.models.engine.visual_sim_engine.VisualSimilarityEngine.initialize_optimizer

VisualSimilarityEngine.initialize_optimizer() None

Because the module might be set after the initial step, load the optimizer and scheduler at the start of the training.