sjtuplayer / anomalydiffusion

[AAAI 2024] AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Model
MIT License
114 stars 14 forks source link

ValueError #37

Open ylrccc opened 3 months ago

ylrccc commented 3 months ago

image

您好,这个问题该如何解决?

songya commented 1 month ago

I had the same problem. Would you help me to solve "trainer" issue? I declared trainer in the front of "try." Then, it still produced an error:'NoneType' object has no attribute 'global_rank.' Do I have to move whole "try" part?