Stability-AI / generative-models

Generative Models by Stability AI
MIT License
23.14k stars 2.56k forks source link

A question regarding masked SDS loss #332

Open cmh1027 opened 3 months ago

cmh1027 commented 3 months ago

image I'm not sure if I understand correctly this formula. If the dot product v_c • n equals one, then it must be excluded by the mask and thereby the mask will have the value 0. However, if you put 0 into x, then the result will be -3 because x_hat and f_s will be 2 and 4 each. Is this intended behavior?