Skip to content
Snippets Groups Projects
Commit d7684bd1 authored by Franck Galpin's avatar Franck Galpin
Browse files

correction for hop5

parent 02efa0e1
No related branches found
No related tags found
1 merge request!295correction for hop5
Pipeline #14486 passed
......@@ -325,8 +325,8 @@ class Trainer:
return {"lossY": lossY, "lossUV": lossUV, "lossYUV": lossYUV}
def iteration(self, sample):
cropped_size = False
if "dct_size" in self.config_training and self.dct_size >= 2:
cropped_size = False
sample_dct = self.applyDCT2(sample)
Ycoeff_res, UVcoeff_res = self.model(
{name: tensor.to(self.device) for name, tensor in sample_dct.items()}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment