MCPcopy Index your code
hub / github.com/MoonInTheRiver/DiffSinger / configure_optimizers

Method configure_optimizers

tasks/base_task.py:201–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

199 raise NotImplementedError
200
201 def configure_optimizers(self):
202 optm = self.build_optimizer(self.model)
203 self.scheduler = self.build_scheduler(optm)
204 return [optm]
205
206 def test_start(self):
207 pass

Callers 2

fitMethod · 0.80
ddp_trainMethod · 0.80

Calls 2

build_optimizerMethod · 0.95
build_schedulerMethod · 0.95

Tested by

no test coverage detected