Closed navid-mahmoudian closed 4 years ago
Similar problem is for return value of test_epoch
function, i.e. rather than return loss.val
you should return loss.avg
.
Thanks for the report Navid ! We'll push a fix soon.
Thanks for spotting this, Navid!
Hello,
Thank you for this nice library. I noticed that in your CompressAI/examples/train.py example, inside the test_epoch function when you are printing 'Average losses:' you are actually printing the last values rather than average values. I think
Must be changed to
I know that it is very subtle, but just for the sake of completeness I am reporting this error.