qcodes
This commit is contained in:
parent
38a00f29c0
commit
aca9024d9b
|
@ -237,7 +237,7 @@ class TransformerDiffusionWithQuantizer(nn.Module):
|
|||
|
||||
def get_debug_values(self, step, __):
|
||||
if self.quantizer.total_codes > 0:
|
||||
return {'histogram_codes': self.quantizer.codes[:self.quantizer.total_codes],
|
||||
return {'histogram_quant_codes': self.quantizer.codes[:self.quantizer.total_codes],
|
||||
'gumbel_temperature': self.quantizer.quantizer.temperature}
|
||||
else:
|
||||
return {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user