Another fix..

This commit is contained in:
James Betker 2020-10-04 21:08:00 -06:00
parent a890e3a9c0
commit e760658fdb

View File

@ -268,7 +268,7 @@ class GeometricSimilarityGeneratorLoss(ConfigurableLoss):
else:
upsampled_altered = net(*altered)
if self.gen_output_to_use:
if self.gen_output_to_use is not None:
upsampled_altered = upsampled_altered[self.gen_output_to_use]
# Undo alteration on HR image