DSE-MSU / DeepRobust

A pytorch adversarial library for attack and defense methods on images and graphs
MIT License
994 stars 192 forks source link

there is a bug in code #41

Closed DimRgs closed 3 years ago

DimRgs commented 3 years ago

deeprobust\image\attack\cw.py

line 67, 68 is self.clip_min, self.clip_min,

i think it should be self.clip_max, self.clip_min,

YaxinLi0-0 commented 3 years ago

Thanks for reminding, you are right! I've fix that.