WindVChen / DiffAttack

An unrestricted attack based on diffusion models that can achieve both good transferability and imperceptibility.
Apache License 2.0
158 stars 14 forks source link

how to fix this problem"list index out of range" #27

Open HONG-0122 opened 2 months ago

HONG-0122 commented 2 months ago

image

WindVChen commented 2 months ago

Hi @HONG-0122 ,

Could you share more details about the issue? For instance, did you modify any code before encountering this error? The original code in the repository should be working fine

HONG-0122 commented 2 months ago

您好 ,

你能否介绍有关问题的具体情况?例如,在遇到此错误之前,您是否修改了任何代码?存储库中的原始代码应该可以正常工作 Hello, I am just trying to reproduce this project and have not made any modifications to the code

WindVChen commented 2 months ago

Hmm, there's still not enough information to pinpoint the issue. Could you check the version of your packages, particularly the diffusers package? Sometimes version mismatches can lead to conflicts. You might want to try using diffusers=0.9.0 if you have a different version installed.