This commit is contained in:
James Betker 2022-05-20 11:18:52 -06:00
parent b317c68ac9
commit 28f950b7d3

View File

@ -183,7 +183,7 @@ class FlatDiffusion(nn.Module):
groups = {
'minicoder': list(self.contextual_embedder.parameters()),
'layers': list(self.layers.parameters()),
'code_converters': list(self.embeddings.parameters())) + list(self.latent_conditioner.parameters()),
'code_converters': list(self.embeddings.parameters()) + list(self.latent_conditioner.parameters()),
'timestep_integrator': list(self.conditioning_timestep_integrator.parameters()) + list(self.integrating_conv.parameters()),
'time_embed': list(self.time_embed.parameters()),
}