Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,想问一个代码问题 #22

Open
SorryMaker666 opened this issue Mar 18, 2024 · 3 comments
Open

您好,想问一个代码问题 #22

SorryMaker666 opened this issue Mar 18, 2024 · 3 comments

Comments

@SorryMaker666
Copy link

我对您如何实现spatial anomaly embedding和adaptive attention re-weighting部分很感兴趣,看了您的main.py脚本,发现里面没有这部分内容,随后又看了txt2img-1p4B-finetune-encoder+embedding.yaml的配置脚本,请问关于上面两个方法的实现是在ldm.models.diffusion.ddpm.LatentDiffusion中吗,具体是在哪一部分,还是在其他脚本中呢?

@sjtuplayer
Copy link
Owner

你好,spatial anomaly embedding在ldm\modules\embedding_manager2.py中,adaptive attention re-weighting在ldm\models\diffusion\ddim.py中的ddim_sampling

@SorryMaker666
Copy link
Author

谢谢!!!

@SorryMaker666
Copy link
Author

你好,想问一下2080Ti能跑动这个代码吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants