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

Updated gan.py #74

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 #74 (d2312e8) into main (c56901e) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #74   +/-   ##
=========================================
  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%> (ø)
abhi-glitchhg commented 3 years ago

updated as per #69