1. 06 Sep, 2020 1 commit
  2. 03 Sep, 2020 1 commit
    • Adrià Arrufat's avatar
      Add visitor to remove bias from bn_ layer inputs (#closes 2155) (#2156) · e7ec6b77
      Adrià Arrufat authored
      * add visitor to remove bias from bn_ inputs (#closes 2155)
      
      * remove unused parameter and make documentation more clear
      
      * remove bias from bn_ layers too and use better name
      
      * let the batch norm keep their bias, use even better name
      
      * be more consistent with impl naming
      
      * remove default constructor
      
      * do not use method to prevent some errors
      
      * add disable bias method to pertinent layers
      
      * update dcgan example
      
      - grammar
      - print number of network parameters to be able to check bias is not allocated
      - at the end, give feedback to the user about what the discriminator thinks about each generated sample
      
      * fix fc_ logic
      
      * add documentation
      
      * add bias_is_disabled methods and update to_xml
      
      * print use_bias=false when bias is disabled
      e7ec6b77
  3. 02 Apr, 2020 1 commit
  4. 31 Mar, 2020 2 commits
  5. 29 Mar, 2020 2 commits
    • Davis King's avatar
      Promote some of the sub-network methods into the add_loss_layer interface so... · 0057461a
      Davis King authored
      Promote some of the sub-network methods into the add_loss_layer interface so users don't have to write .subnet() so often.
      0057461a
    • 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