CR-Gjx / SCC

Pytorch implementation of "Alleviating Semantics Distortion in Unsupervised Low-Level Image-to-Image Translation via Structure Consistency Constraint." (CVPR 2022).
22 stars 1 forks source link

about the scc loss #6

Open provbs opened 8 months ago

provbs commented 8 months ago

hi, I just finished reading your paper,

and now I am trying to use your cyclegan + scc loss code on github,

and after setting the batch size to 1, it seems like it is working fine. (well, at least it is generating images..)

but, just like other issues uploaded before, I am getting negative scc loss values on training. like SCC : -2.5 when lambda_scc is 5 and etc.

I already tried other lambda_scc values (all positive values, 0.5 included) and the results are same.

is it normal to get negative values for scc loss? (it seems like it is decreasing over time in the negative series.)

@CR-Gjx