sharif-apu / BJDD_CVPR21

This is the official implementation of Beyond Joint Demosaicking and Denoising from CVPRW21.
68 stars 20 forks source link

Small fix for the color loss function #6

Closed limitz closed 2 years ago

limitz commented 2 years ago

The color loss function doesn't seem to clear self.loss. It keeps appending to the list each time before it calculates a mean. Simply added a clear().

Also removed pycache directories from being tracked by git so that the repo doesn't contain compiled files and doesn't see them as changed after recompilation.