{ "
This is the training code for StyleGAN 2 model.
\n_^_0_^_
\nThese are _^_1_^_ images generated after training for about 80K steps.
\nOur implementation is a minimalistic StyleGAN 2 model training code. Only single GPU training is supported to keep the implementation simple. We managed to shrink it to keep it at less than 500 lines of code, including the training loop.
\nWithout DDP (distributed data parallel) and multi-gpu training it will not be possible to train the model for large resolutions (128+). If you want training code with fp16 and DDP take a look at lucidrains/stylegan2-pytorch.
\nWe trained this on CelebA-HQ dataset. You can find the download instruction in this discussion on fast.ai. Save the images inside _^_2_^_ folder.
\n": "_^_0_^_
\n\u3053\u308c\u3089\u306f\u3001\u7d04 80K _^_1_^_ \u30b9\u30c6\u30c3\u30d7\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u5f8c\u306b\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u3067\u3059\u3002
\n\u79c1\u305f\u3061\u306e\u5b9f\u88c5\u306f\u3001\u6700\u5c0f\u9650\u306eStyleGAN 2\u30e2\u30c7\u30eb\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30b3\u30fc\u30c9\u3067\u3059\u3002\u5b9f\u88c5\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u4fdd\u3064\u305f\u3081\u3001\u5358\u4e00\u306e GPU \u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306e\u307f\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u306a\u3093\u3068\u304b\u7e2e\u5c0f\u3057\u3066\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30eb\u30fc\u30d7\u3092\u542b\u3081\u3066 500 \u884c\u672a\u6e80\u306e\u30b3\u30fc\u30c9\u306b\u6291\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f
\u3002\nDDP (\u5206\u6563\u30c7\u30fc\u30bf\u4e26\u5217) \u3068\u30de\u30eb\u30c1 GPU \u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u304c\u306a\u3051\u308c\u3070\u3001\u5927\u304d\u306a\u89e3\u50cf\u5ea6 (128 \u4ee5\u4e0a) \u3067\u30e2\u30c7\u30eb\u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002
fp16\u3068DDP\u3092\u4f7f\u3063\u305f\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30b3\u30fc\u30c9\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001lucidrains/stylegan2-pytorch\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002\n\u3053\u308c\u3092Celeba-HQ\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3057\u307e\u3057\u305f\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306e\u8aac\u660e\u306f\u3001fast.ai \u306e\u3053\u306e\u30c7\u30a3\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3\u306b\u3042\u308a\u307e\u3059\u3002_^_2_^_\u753b\u50cf\u3092\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002
\n", "This loads the training dataset and resize it to the give image size.
\n": "\u3053\u308c\u306b\u3088\u308a\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u8aad\u307f\u8fbc\u307e\u308c\u3001\u6307\u5b9a\u3055\u308c\u305f\u753b\u50cf\u30b5\u30a4\u30ba\u306b\u30ea\u30b5\u30a4\u30ba\u3055\u308c\u307e\u3059\u3002
\n", "This generate images using the generator
\n": "\u3053\u308c\u306b\u3088\u308a\u3001\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3066\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u307e\u3059
\n", "This generates noise for each generator block
\n": "\u3053\u308c\u306b\u3088\u308a\u3001\u5404\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u306b\u30ce\u30a4\u30ba\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002
\n", "Instead of calculating the regularization losses, the paper proposes lazy regularization where the regularization terms are calculated once in a while. This improves the training efficiency a lot.
\n": "\u3053\u306e\u8ad6\u6587\u3067\u306f\u3001\u6b63\u5247\u5316\u640d\u5931\u3092\u8a08\u7b97\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u6b63\u898f\u5316\u9805\u3092\u305f\u307e\u306b\u8a08\u7b97\u3059\u308b\u9045\u5ef6\u6b63\u5247\u5316\u3092\u63d0\u6848\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306e\u52b9\u7387\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002
\n", "This samples _^_1_^_ randomly and get _^_2_^_ from the mapping network.
\nWe also apply style mixing sometimes where we generate two latent variables _^_3_^_ and _^_4_^_ and get corresponding _^_5_^_ and _^_6_^_. Then we randomly sample a cross-over point and apply _^_7_^_ to the generator blocks before the cross-over point and _^_8_^_ to the blocks after.
\n": "_^_1_^_\u3053\u308c\u306f\u30e9\u30f3\u30c0\u30e0\u306b\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3055\u308c\u3001_^_2_^_\u30de\u30c3\u30d4\u30f3\u30b0\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u53d6\u5f97\u3055\u308c\u307e\u3059\u3002
\n\u307e\u305f\u3001\u30b9\u30bf\u30a4\u30eb\u30df\u30ad\u30b7\u30f3\u30b0\u3092\u9069\u7528\u3057\u3066\u3001_^_3_^_ 2\u3064\u306e\u6f5c\u5728\u5909\u6570\u3068\u3092\u751f\u6210\u3057\u3001_^_4_^__^_5_^__^_6_^_\u5bfe\u5fdc\u3059\u308b\u304a\u3088\u3073\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u6b21\u306b\u3001\u30af\u30ed\u30b9\u30aa\u30fc\u30d0\u30fc\u30dd\u30a4\u30f3\u30c8\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3057\u3001_^_7_^_\u30af\u30ed\u30b9\u30aa\u30fc\u30d0\u30fc\u30dd\u30a4\u30f3\u30c8\u306e\u524d\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u30d6\u30ed\u30c3\u30af\u3068\u30af\u30ed\u30b9\u30aa\u30fc\u30d0\u30fc\u30dd\u30a4\u30f3\u30c8\u5f8c\u306e\u30d6\u30ed\u30c3\u30af\u306b\u9069\u7528\u3057\u307e\u3059
\u3002_^_8_^_\n", "\n": "\n", "\n": "
\u30b9\u30bf\u30a4\u30eb GAN2 \u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc
\n", "\n": "\u30b9\u30bf\u30a4\u30eb GAN2 \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf
\n", "Gradient Penalty Regularization Loss
\n": "\u52fe\u914d\u30da\u30ca\u30eb\u30c6\u30a3\u6b63\u5247\u5316\u640d\u5931
\n", "\n": "\u30de\u30c3\u30d4\u30f3\u30b0\u30cd\u30c3\u30c8\u30ef\u30fc\u30af
\n", "\n": "\u7d4c\u8def\u9577\u30da\u30ca\u30eb\u30c6\u30a3
\n", "We trained this on CelebA-HQ dataset. You can find the download instruction in this discussion on fast.ai. Save the images inside _^_0_^_ folder.
\n": "\u3053\u308c\u3092Celeba-HQ\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3057\u307e\u3057\u305f\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306e\u8aac\u660e\u306f\u3001fast.ai \u306e\u3053\u306e\u30c7\u30a3\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3\u306b\u3042\u308a\u307e\u3059\u3002_^_0_^_\u753b\u50cf\u3092\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002
\n", "_^_0_^_ and _^_1_^_ for Adam optimizer
\n": "_^_0_^__^_1_^_\u305d\u3057\u3066\u30a2\u30c0\u30e0\u30aa\u30d7\u30c6\u30a3\u30de\u30a4\u30b6\u30fc\u306e\u5834\u5408
\n", "_^_0_^_ of image resolution
\n": "_^_0_^_\u753b\u50cf\u89e3\u50cf\u5ea6\u306e
\n", "Accumulate gradients for _^_0_^_
\n": "\u306e\u52fe\u914d\u3092\u7d2f\u7a4d _^_0_^_
\n", "Add gradient penalty
\n": "\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30da\u30ca\u30eb\u30c6\u30a3\u3092\u8ffd\u52a0
\n", "Add model hooks to monitor layer outputs
\n": "\u30e2\u30cb\u30bf\u30fc\u30ec\u30a4\u30e4\u30fc\u51fa\u529b\u3078\u306e\u30e2\u30c7\u30eb\u30d5\u30c3\u30af\u306e\u8ffd\u52a0
\n", "Add noise tensors to the list
\n": "\u30ce\u30a4\u30ba\u30c6\u30f3\u30bd\u30eb\u3092\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0
\n", "Add path length penalty
\n": "\u30d1\u30b9\u9577\u30da\u30ca\u30eb\u30c6\u30a3\u3092\u8ffd\u52a0
\n", "Batch size
\n": "\u30d0\u30c3\u30c1\u30b5\u30a4\u30ba
\n", "Calculate and log gradient penalty
\n": "\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30da\u30ca\u30eb\u30c6\u30a3\u306e\u8a08\u7b97\u3068\u8a18\u9332
\n", "Calculate gradients
\n": "\u52fe\u914d\u306e\u8a08\u7b97
\n", "Calculate path length penalty
\n": "\u7d4c\u8def\u9577\u30da\u30ca\u30eb\u30c6\u30a3\u306e\u8a08\u7b97
\n", "Clip gradients for stabilization
\n": "\u5b89\u5b9a\u5316\u306e\u305f\u3081\u306e\u30af\u30ea\u30c3\u30d7\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3
\n", "Compute gradients
\n": "\u52fe\u914d\u306e\u8a08\u7b97
\n", "Continuous cyclic loader
\n": "\u9023\u7d9a\u30b5\u30a4\u30af\u30eb\u30ed\u30fc\u30c0\u30fc
\n", "Convert to PyTorch tensor
\n": "PyTorch \u30c6\u30f3\u30bd\u30eb\u306b\u5909\u63db
\n", "Create an experiment
\n": "\u30c6\u30b9\u30c8\u3092\u4f5c\u6210
\n", "Create configurations object
\n": "\u8a2d\u5b9a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210
\n", "Create data loader
\n": "\u30c7\u30fc\u30bf\u30ed\u30fc\u30c0\u30fc\u306e\u4f5c\u6210
\n", "Create dataset
\n": "\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4f5c\u6210
\n", "Create discriminator and generator
\n": "\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u3068\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u306e\u4f5c\u6210
\n", "Create mapping network
\n": "\u30de\u30c3\u30d4\u30f3\u30b0\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u4f5c\u6210
\n", "Create optimizers
\n": "\u30aa\u30d7\u30c6\u30a3\u30de\u30a4\u30b6\u30fc\u306e\u4f5c\u6210
\n", "Create path length penalty loss
\n": "\u30d1\u30b9\u9577\u306e\u30da\u30ca\u30eb\u30c6\u30a3\u30ed\u30b9\u3092\u4f5c\u6210
\n", "Data loader
\n": "\u30c7\u30fc\u30bf\u30ed\u30fc\u30c0\u30fc
\n", "Device to train the model on. _^_0_^_ picks up an available CUDA device or defaults to CPU.
\n": "\u30e2\u30c7\u30eb\u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u3002_^_0_^_\u4f7f\u7528\u53ef\u80fd\u306a CUDA \u30c7\u30d0\u30a4\u30b9\u3092\u9078\u629e\u3059\u308b\u304b\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 CPU \u306b\u8a2d\u5b9a\u3057\u307e\u3059
\u3002\n", "Dimensionality of _^_0_^_ and _^_1_^_
\n": "\u3068\u306e\u6b21\u5143 _^_0_^_ _^_1_^_
\n", "Discriminator and generator loss functions. We use Wasserstein loss
\n": "\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u3068\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306e\u640d\u5931\u95a2\u6570\u30ef\u30c3\u30b5\u30fc\u30b7\u30e5\u30bf\u30a4\u30f3\u30ed\u30b9\u3092\u4f7f\u3044\u307e\u3059
\n", "Discriminator and generator losses
\n": "\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u3068\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306e\u640d\u5931
\n", "Discriminator classification for generated images
\n": "\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u306e\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u5206\u985e
\n", "Discriminator classification for real images
\n": "\u5b9f\u753b\u50cf\u306e\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u5206\u985e
\n", "Expand _^_0_^_ and _^_1_^_ for the generator blocks and concatenate
\n": "_^_0_^__^_1_^_\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u3092\u62e1\u5f35\u3057\u3066\u9023\u7d50\u3059\u308b
\n", "Expand _^_0_^_ for the generator blocks
\n": "_^_0_^_\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u7528\u306b\u62e1\u5f35
\n", "Flush tracker
\n": "\u30d5\u30e9\u30c3\u30b7\u30e5\u30c8\u30e9\u30c3\u30ab\u30fc
\n", "Generate images
\n": "\u753b\u50cf\u3092\u751f\u6210
\n", "Generate noise for each generator block
\n": "\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u3054\u3068\u306b\u30ce\u30a4\u30ba\u3092\u751f\u6210
\n", "Generate noise to add after the first convolution layer
\n": "\u30ce\u30a4\u30ba\u3092\u751f\u6210\u3057\u3066\u6700\u521d\u306e\u30b3\u30f3\u30dc\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u5c64\u306e\u5f8c\u306b\u8ffd\u52a0\u3057\u307e\u3059
\n", "Generate noise to add after the second convolution layer
\n": "\u30ce\u30a4\u30ba\u3092\u751f\u6210\u3057\u3066 2 \u756a\u76ee\u306e\u30b3\u30f3\u30dc\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u5c64\u306e\u5f8c\u306b\u8ffd\u52a0\u3057\u307e\u3059
\n", "Generator & Discriminator learning rate
\n": "\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u3068\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u306e\u5b66\u7fd2\u7387
\n", "Get _^_0_^_
\n": "\u53d6\u5f97 _^_0_^_
\n", "Get _^_0_^_ and _^_1_^_
\n": "_^_0_^_\u53d6\u5f97\u3057\u3066 _^_1_^_
\n", "Get discriminator loss
\n": "\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u640d\u5931\u3092\u53d6\u5f97
\n", "Get generator loss
\n": "\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30ed\u30b9\u3092\u53d6\u5f97
\n", "Get noise
\n": "\u30ce\u30a4\u30ba\u304c\u51fa\u308b
\n", "Get number of generator blocks for creating style and noise inputs
\n": "\u30b9\u30bf\u30a4\u30eb\u5165\u529b\u3068\u30ce\u30a4\u30ba\u5165\u529b\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30d6\u30ed\u30c3\u30af\u306e\u6570\u3092\u53d6\u5f97
\n", "Get real images from the data loader
\n": "\u30c7\u30fc\u30bf\u30ed\u30fc\u30c0\u30fc\u304b\u3089\u5b9f\u969b\u306e\u753b\u50cf\u3092\u53d6\u5f97
\n", "Get the paths of all _^_0_^_ files
\n": "_^_0_^_\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u53d6\u5f97
\n", "Get the the _^_0_^_-th image
\n": "_^_0_^_-\u756a\u76ee\u306e\u753b\u50cf\u3092\u53d6\u5f97
\n", "Gradient penalty coefficient _^_0_^_
\n": "\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30da\u30ca\u30eb\u30c6\u30a3\u4fc2\u6570 _^_0_^_
\n", "Height/width of the image
\n": "\u753b\u50cf\u306e\u9ad8\u3055/\u5e45
\n", "How often to log generated images
\n": "\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u3092\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308b\u983b\u5ea6
\n", "How often to save model checkpoints
\n": "\u30e2\u30c7\u30eb\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u4fdd\u5b58\u3059\u308b\u983b\u5ea6
\n", "Ignore if _^_0_^_
\n": "\u6b21\u306e\u5834\u5408\u306f\u7121\u8996 _^_0_^_
\n", "Initialize
\n": "[\u521d\u671f\u5316]
\n", "List to store noise
\n": "\u30ce\u30a4\u30ba\u3092\u4fdd\u5b58\u3059\u308b\u30ea\u30b9\u30c8
\n", "Log discriminator loss
\n": "\u30ed\u30b0\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u640d\u5931
\n", "Log discriminator model parameters occasionally
\n": "\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u30e2\u30c7\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u6642\u3005\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308b
\n", "Log generated images
\n": "\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u3092\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308b
\n", "Log generator loss
\n": "\u30ed\u30b0\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306e\u640d\u5931
\n", "Loop for _^_0_^_
\n": "\u30eb\u30fc\u30d7\u7528 _^_0_^_
\n", "Mapping network learning rate (_^_0_^_ lower than the others)
\n": "\u30de\u30c3\u30d4\u30f3\u30b0\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5b66\u7fd2\u7387 (_^_0_^_\u4ed6\u3088\u308a\u3082\u4f4e\u3044)
\n", "Mix styles
\n": "\u30df\u30c3\u30af\u30b9\u30b9\u30bf\u30a4\u30eb
\n", "Multiply by coefficient and add gradient penalty
\n": "\u4fc2\u6570\u3092\u639b\u3051\u3066\u52fe\u914d\u30da\u30ca\u30eb\u30c6\u30a3\u3092\u52a0\u3048\u308b
\n", "Next block has _^_0_^_ resolution
\n": "_^_0_^_\u6b21\u306e\u30d6\u30ed\u30c3\u30af\u306b\u306f\u89e3\u50cf\u5ea6\u304c\u3042\u308a\u307e\u3059
\n", "Noise resolution starts from _^_0_^_
\n": "\u30ce\u30a4\u30ba\u5206\u89e3\u80fd\u306f\u6b21\u304b\u3089\u59cb\u307e\u308a\u307e\u3059 _^_0_^_
\n", "Number of blocks in the generator (calculated based on image resolution)
\n": "\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u5185\u306e\u30d6\u30ed\u30c3\u30af\u6570 (\u753b\u50cf\u306e\u89e3\u50cf\u5ea6\u306b\u57fa\u3065\u3044\u3066\u8a08\u7b97)
\n", "Number of images
\n": "\u753b\u50cf\u6570
\n", "Number of layers in the mapping network
\n": "\u30de\u30c3\u30d4\u30f3\u30b0\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30ec\u30a4\u30e4\u30fc\u6570
\n", "Number of steps to accumulate gradients on. Use this to increase the effective batch size.
\n": "\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u84c4\u7a4d\u3059\u308b\u30b9\u30c6\u30c3\u30d7\u306e\u6570\u3002\u3053\u308c\u3092\u4f7f\u3063\u3066\u6709\u52b9\u306a\u30d0\u30c3\u30c1\u30b5\u30a4\u30ba\u3092\u5897\u3084\u3057\u3066\u304f\u3060\u3055\u3044\u3002
\n", "Optimizers
\n": "\u30aa\u30d7\u30c6\u30a3\u30de\u30a4\u30b6\u30fc
\n", "Path length penalty calculation interval
\n": "\u30d1\u30b9\u9577\u30da\u30ca\u30eb\u30c6\u30a3\u8a08\u7b97\u9593\u9694
\n", "Probability of mixing styles
\n": "\u30b9\u30bf\u30a4\u30eb\u304c\u6df7\u5728\u3059\u308b\u78ba\u7387
\n", "Random cross-over point
\n": "\u30e9\u30f3\u30c0\u30e0\u30af\u30ed\u30b9\u30aa\u30fc\u30d0\u30fc\u30dd\u30a4\u30f3\u30c8
\n", "Reset gradients
\n": "\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u30ea\u30bb\u30c3\u30c8
\n", "Resize the image
\n": "\u753b\u50cf\u306e\u30b5\u30a4\u30ba\u3092\u5909\u66f4
\n", "Return images and _^_0_^_
\n": "\u753b\u50cf\u3092\u8fd4\u3059\u3068 _^_0_^_
\n", "Return noise tensors
\n": "\u30ea\u30bf\u30fc\u30f3\u30fb\u30ce\u30a4\u30ba\u30fb\u30c6\u30f3\u30bd\u30eb
\n", "Run the training loop
\n": "\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30eb\u30fc\u30d7\u3092\u5b9f\u884c\u3059\u308b
\n", "Sample _^_0_^_ and _^_1_^_
\n": "_^_0_^_\u30b5\u30f3\u30d7\u30eb\u3068 _^_1_^_
\n", "Sample images from generator
\n": "\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u304b\u3089\u306e\u30b5\u30f3\u30d7\u30eb\u753b\u50cf
\n", "Save model checkpoints
\n": "\u30e2\u30c7\u30eb\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u306e\u4fdd\u5b58
\n", "Set configurations and override some
\n": "\u69cb\u6210\u3092\u8a2d\u5b9a\u3057\u3001\u4e00\u90e8\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308b
\n", "Set models for saving and loading
\n": "\u4fdd\u5b58\u304a\u3088\u3073\u8aad\u307f\u8fbc\u307f\u7528\u306e\u30e2\u30c7\u30eb\u3092\u8a2d\u5b9a\u3059\u308b
\n", "Set tracker configurations
\n": "\u30c8\u30e9\u30c3\u30ab\u30fc\u69cb\u6210\u3092\u8a2d\u5b9a
\n", "Skip calculating path length penalty during the initial phase of training
\n": "\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306e\u521d\u671f\u6bb5\u968e\u3067\u306f\u3001\u7d4c\u8def\u9577\u306e\u30da\u30ca\u30eb\u30c6\u30a3\u306e\u8a08\u7b97\u3092\u7701\u7565
\n", "Start the experiment
\n": "\u5b9f\u9a13\u3092\u59cb\u3081\u308b
\n", "Take a training step
\n": "\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306e\u4e00\u6b69\u3092\u8e0f\u307f\u51fa\u3059
\n", "Take optimizer step
\n": "\u6700\u9069\u5316\u306e\u4e00\u6b69\u3092\u8e0f\u307f\u51fa\u3059
\n", "The first block has only one _^_0_^_ convolution
\n": "\u6700\u521d\u306e\u30d6\u30ed\u30c3\u30af\u306b\u306f\u7573\u307f\u8fbc\u307f\u304c 1 _^_0_^_ \u3064\u3057\u304b\u3042\u308a\u307e\u305b\u3093
\n", "The interval at which to compute gradient penalty
\n": "\u30b0\u30e9\u30c7\u30fc\u30b7\u30e7\u30f3\u30da\u30ca\u30eb\u30c6\u30a3\u3092\u8a08\u7b97\u3059\u308b\u9593\u9694
\n", "Total number of training steps
\n": "\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30b9\u30c6\u30c3\u30d7\u306e\u7dcf\u6570
\n", "Train the discriminator
\n": "\u30c7\u30a3\u30b9\u30af\u30ea\u30df\u30cd\u30fc\u30bf\u30fc\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0
\n", "Train the generator
\n": "\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0
\n", "Training mode state for logging activations
\n": "\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308b\u305f\u3081\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30e2\u30fc\u30c9\u72b6\u614b
\n", "Transformation
\n": "\u30c8\u30e9\u30f3\u30b9\u30d5\u30a9\u30fc\u30e1\u30fc\u30b7\u30e7\u30f3
\n", "Update _^_0_^_. Set whether to log activation
\n": "[\u66f4\u65b0] _^_0_^_\u3002\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8a2d\u5b9a
\n", "We need to calculate gradients w.r.t. real images for gradient penalty
\n": "\u52fe\u914d\u30da\u30ca\u30eb\u30c6\u30a3\u306e\u305f\u3081\u306b\u306f\u3001\u5b9f\u969b\u306e\u753b\u50cf\u306b\u5bfe\u3057\u3066\u52fe\u914d\u3092\u8a08\u7b97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059
\n", "Whether to log model layer outputs
\n": "\u30e2\u30c7\u30eb\u30ec\u30a4\u30e4\u30fc\u306e\u51fa\u529b\u3092\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308b\u304b\u3069\u3046\u304b
\n", "Without mixing
\n": "\u6df7\u5408\u305b\u305a\u306b
\n", "