CycleGanModel: Cycle GAN model

CycleGanModelR Documentation

Cycle GAN model

Description

Cycle generative adverserial network from the paper:

Details

https://arxiv.org/pdf/1703.10593

and ported from the Keras (python) implementation:

https://github.com/eriklindernoren/Keras-GAN/blob/master/cyclegan/cyclegan.py

Arguments

inputImageSize
latentDimension

Details

$initialize instantiates a new class and builds the generator and discriminator. $buildGeneratorbuild generator. $buildGeneratorbuild discriminator.

Author(s)

Tustison NJ

Examples


library( keras )
library( ANTsRNet )

keras::backend()$clear_session()
ganModel <- CycleGanModel$new(
   inputImageSize = c( 128, 128, 3 ) )
ganModel$buildGenerator()


ANTsX/ANTsRNet documentation built on Nov. 21, 2024, 4:07 a.m.