LingLIx / SCL-LLE

SCL-LLE code
76 stars 11 forks source link

question about<Semantic Brightness Consistency Constraint loss>code #3

Open JetsonKarl opened 2 years ago

JetsonKarl commented 2 years ago

Myloss.py line143:d2 = torch.mean(a2)

JetsonKarl commented 2 years ago

it can not represent equation 6. There are some zeros in the tensor but you have not deleted them. So it can not represent this area's average brightness level, the truly B is bigger than your result.

LingLIx commented 2 years ago

它不能表示方程 6。张量中有一些零,但您没有删除它们。所以它不能代表这个区域的平均亮度水平,真正的B大于你的结果。 Yes. You are correct. We will change this part of the code later. Thank you very much for asking this question.