composer.algorithms.scale_schedule.scale_schedule#
composer.algorithms.scale_schedule.scale_schedule
Classes
Base class for algorithms. |
|
Enum to represent events in the training loop. |
|
An interface to record training data. |
|
Deprecated - do not use. |
|
The state of the trainer. |
Attributes
Optional
log
- class composer.algorithms.scale_schedule.scale_schedule.ScaleSchedule(ratio=1.0)[source]#
Bases:
composer.core.algorithm.Algorithm
Deprecated - do not use.
This algorithm is deprecated, and is being replaced by the scale_schedule_ratio param supported directly by the Composer Trainer. For backwards compatibility, the Composer Trainer detects when this algorithm has been initialized, and pulls the ratio param accordingly.
- Parameters
ratio (float, optional) โ The factor by which to scale the duration of the schedule. E.g., 0.5 makes the schedule take half as long and 2.0 makes it take twice as long. Default:
1.0
.