ZYM-PKU/UDiffText

where is the code for local attention loss?

ZhendongWang6 opened this issue · 1 comments

Hi, it is a great work! But I do not find the implementation of the local attention loss. Could you help me? Thanks.

Much appreciated. The implementation of the local attention loss can be found in ./sgm/modules/diffusionmodules/loss.py. Check the function get_local_loss().