9 lines
473 B
Python
9 lines
473 B
Python
"""Local Piper training entry point: mel checkpoints only; MOS is disabled."""
|
|
from piper.train import __main__ as training
|
|
# Upstream installs a val_mos checkpoint even with --model.mos_metric none.
|
|
# Lightning raises after epoch one when that optional metric is absent.
|
|
training._DEFAULT_CALLBACKS[:] = [callback for callback in training._DEFAULT_CALLBACKS
|
|
if callback.monitor != "val_mos"]
|
|
if __name__ == "__main__":
|
|
training.main()
|