• Adrià Arrufat's avatar
    Add DCGAN example (#2035) · f42f100d
    Adrià Arrufat authored
    * wip: dcgan-example
    
    * wip: dcgan-example
    
    * update example to use leaky_relu and remove bias from net
    
    * wip
    
    * it works!
    
    * add more comments
    
    * add visualization code
    
    * add example documentation
    
    * rename example
    
    * fix comment
    
    * better comment format
    
    * fix the noise generator seed
    
    * add message to hit enter for image generation
    
    * fix srand, too
    
    * add std::vector overload to update_parameters
    
    * improve training stability
    
    * better naming of variables
    
    make sure it is clear we update the generator with the discriminator's
    gradient using fake samples and true labels
    
    * fix comment: generator -> discriminator
    
    * update leaky_relu docs to match the relu ones
    
    * replace not with !
    
    * add Davis' suggestions to make training more stable
    
    * use tensor instead of resizable_tensor
    
    * do not use dnn_trainer for discriminator
    f42f100d
CMakeLists.txt 10.2 KB