Adversarial-Deep-Learning / code-soup

This is a collection of algorithms and approaches used in the book adversarial deep learning
MIT License
18 stars 18 forks source link

Adding One Pixel Attack Core #65

Closed mehulrastogi closed 3 years ago

mehulrastogi commented 3 years ago

Adding One Pixel attack core code. Added scipy as requirement. Will open issues for tutorials and additional things for enhancements once merged

codecov[bot] commented 3 years ago

Codecov Report

Merging #65 (d8c30c3) into main (7aa48e7) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #65   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        13    +1     
  Lines          557       578   +21     
=========================================
+ Hits           557       578   +21     
Impacted Files Coverage Δ
code_soup/ch5/models/one_pixel_attack.py 100.00% <100.00%> (ø)
someshsingh22 commented 3 years ago

@mehulrastogi for lines of code you feel its unnecessary to test eg. some if else statements you can add the pramga no cover line

mehulrastogi commented 3 years ago

65

mehulrastogi commented 3 years ago

@someshsingh22 let's merge this? Or do we need anything else here?