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

Refactoring #72

Open someshsingh22 opened 3 years ago

someshsingh22 commented 3 years ago

fixes #70

codecov[bot] commented 3 years ago

Codecov Report

Merging #72 (95383d3) into main (eec666b) will decrease coverage by 80.48%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##              main      #72       +/-   ##
============================================
- Coverage   100.00%   19.51%   -80.49%     
============================================
  Files           16       17        +1     
  Lines          603      615       +12     
============================================
- Hits           603      120      -483     
- Misses           0      495      +495     
Impacted Files Coverage Δ
code_soup/common/vision/models/__init__.py 100.00% <ø> (ø)
code_soup/common/perturbation.py 100.00% <100.00%> (ø)
code_soup/common/vision/perturbations.py 100.00% <100.00%> (ø)
code_soup/common/vision/datasets/vision_dataset.py 0.00% <0.00%> (-100.00%) :arrow_down:
...oup/common/vision/datasets/image_classification.py 0.00% <0.00%> (-100.00%) :arrow_down:
code_soup/ch5/algorithms/zoo_attack.py 7.45% <0.00%> (-92.55%) :arrow_down:
code_soup/common/vision/models/nin.py 16.39% <0.00%> (-83.61%) :arrow_down:
code_soup/common/vision/models/allconvnet.py 17.64% <0.00%> (-82.36%) :arrow_down:
code_soup/ch5/algorithms/gan.py 20.96% <0.00%> (-79.04%) :arrow_down:
code_soup/common/text/utils/perturbations.py 24.44% <0.00%> (-75.56%) :arrow_down:
... and 6 more
someshsingh22 commented 3 years ago

Removing imports

mehulrastogi commented 3 years ago

did a refactoring @someshsingh22. Do take a look at the code and solve for any merge issues

someshsingh22 commented 3 years ago

@mehulrastogi Can you check the PR and merge the PRs