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

bug fixed in gan.py #73

Closed abhi-glitchhg closed 3 years ago

abhi-glitchhg commented 3 years ago

added zero_grad() method for discriminator step method now also returns Generator loss

codecov[bot] commented 3 years ago

Codecov Report

Merging #73 (bfe3e6b) into main (c56901e) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #73   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          556       557    +1     
=========================================
+ Hits           556       557    +1     
Impacted Files Coverage Δ
code_soup/ch5/models/gan.py 100.00% <100.00%> (ø)