where is the code for local attention loss?
ZhendongWang6 opened this issue · 1 comments
ZhendongWang6 commented
Hi, it is a great work! But I do not find the implementation of the local attention loss. Could you help me? Thanks.
ZYM-PKU commented
Much appreciated. The implementation of the local attention loss can be found in ./sgm/modules/diffusionmodules/loss.py. Check the function get_local_loss().