nerf_pl icon indicating copy to clipboard operation
nerf_pl copied to clipboard

loss

Open mowangmodi opened this issue 2 years ago • 0 comments

Why does the calculation of loss need to be multiplied by a coefficient of 0.5? Is it because fine and coat account for half respectively? ret['c_l'] = 0.5 * ((inputs['rgb_coarse']-targets)**2).mean() ret['f_l'] = 0.5 * ((inputs['rgb_coarse']-targets)**2).mean()

mowangmodi avatar Sep 19 '23 03:09 mowangmodi