starling.models.vae.KLDWeightScheduler
- class KLDWeightScheduler[source]
Bases:
objectMethods
Configure the scheduler with training step information
Get current KLD weight for a given step (or max weight if no warmup)
Attributes
Get the current KLD weight
Get the maximum KLD weight
- configure(total_training_steps: int)[source]
Configure the scheduler with training step information
- get_weight(step=None) float[source]
Get current KLD weight for a given step (or max weight if no warmup)
- property max_weight
Get the maximum KLD weight
- property current_weight
Get the current KLD weight