{"id":29788,"date":"2024-10-28T03:00:03","date_gmt":"2024-10-28T03:00:03","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=29788"},"modified":"2024-11-26T06:51:22","modified_gmt":"2024-11-26T06:51:22","slug":"%ed%8c%8c%ec%9d%b4%ed%86%a0%ec%b9%98%eb%a5%bc-%ed%99%9c%ec%9a%a9%ed%95%9c-gan-%eb%94%a5%eb%9f%ac%eb%8b%9d-cyclegan-%ec%86%8c%ea%b0%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/29788\/","title":{"rendered":"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c"},"content":{"rendered":"<p><body><\/p>\n<p>\n    Generative Adversarial Networks (GANs)\uc740 Ian Goodfellow\uc640 \uadf8\uc758 \ub3d9\ub8cc\ub4e4\uc5d0 \uc758\ud574 2014\ub144 \uc81c\uc548\ub41c \ub525\ub7ec\ub2dd \ubaa8\ub378\uc785\ub2c8\ub2e4. GAN\uc740 \ub450 \uac1c\uc758 \uc2e0\uacbd\ub9dd\uc778 \uc0dd\uc131\uc790(Generator)\uc640 \ud310\ubcc4\uc790(Discriminator)\uac00 \uc11c\ub85c \uacbd\uc7c1\ud558\uba74\uc11c \ud559\uc2b5\ud558\ub294 \uad6c\uc870\ub85c \ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0dd\uc131\uc790\ub294 \ub354\uc6b1 \ub354 \uc9c4\uc9dc \uac19\uc740 \ub370\uc774\ud130\ub97c \ub9cc\ub4e4\uace0, \ud310\ubcc4\uc790\ub294 \uc9c4\uc9dc \ub370\uc774\ud130\uc640 \uac00\uc9dc \ub370\uc774\ud130\ub97c \uad6c\ubcc4\ud558\ub294 \ub2a5\ub825\uc744 \ud0a4\uc6b0\uac8c \ub429\ub2c8\ub2e4.\n<\/p>\n<h2>1. GAN\uc758 \uae30\ubcf8 \uac1c\ub150<\/h2>\n<p>\n    GAN\uc758 \uae30\ubcf8 \uc544\uc774\ub514\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uc0dd\uc131\uc790\ub294 \ub79c\ub364 \ub178\uc774\uc988\ub97c \uc785\ub825\uc73c\ub85c \ubc1b\uc544 \uc0c8\ub85c\uc6b4 \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud558\uace0, \ud310\ubcc4\uc790\ub294 \uc774 \ub370\uc774\ud130\uac00 \uc2e4\uc81c \ub370\uc774\ud130\uc778\uc9c0 \uc0dd\uc131\ub41c \ub370\uc774\ud130\uc778\uc9c0 \ud310\ubcc4\ud569\ub2c8\ub2e4. \uc774 \ub450 \ubaa8\ub378\uc740 \ubc18\ubcf5\uc801\uc73c\ub85c \ub300\uacb0\ud558\uba74\uc11c \uc11c\ub85c\uc758 \uc131\ub2a5\uc744 \uac1c\uc120\ud574 \ub098\uac11\ub2c8\ub2e4. \uc774\ub807\uac8c\ud574\uc11c \uc0dd\uc131\uc790\ub294 \uc810\uc810 \ub354 \uc9c4\uc9dc \uac19\uc740 \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud558\uac8c \ub418\uace0, \ud310\ubcc4\uc790\ub294 \ub354\uc6b1 \uc815\uad50\ud558\uac8c \uc9c4\uc9dc\uc640 \uac00\uc9dc\ub97c \uad6c\ubd84\ud558\uac8c \ub429\ub2c8\ub2e4.\n<\/p>\n<h3>1.1 \uc0dd\uc131\uc790\uc640 \ud310\ubcc4\uc790\uc758 \uc5ed\ud560<\/h3>\n<ul>\n<li><strong>\uc0dd\uc131\uc790(Generator):<\/strong> \uc785\ub825\uc73c\ub85c \ubc1b\ub294 \ub79c\ub364 \ub178\uc774\uc988\ub97c \ubc14\ud0d5\uc73c\ub85c \uac00\uc9dc \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ud310\ubcc4\uc790(Discriminator):<\/strong> \uc785\ub825\uc73c\ub85c \uc8fc\uc5b4\uc9c4 \ub370\uc774\ud130\uac00 \uc2e4\uc81c\uc778\uc9c0 \uc0dd\uc131\ub41c \uac83\uc778\uc9c0\ub97c \ud310\ubcc4\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. CycleGAN \uc18c\uac1c<\/h2>\n<p>\n    CycleGAN\uc740 GAN\uc758 \ubcc0\ud615\uc73c\ub85c, \uc11c\ub85c \ub2e4\ub978 \ub3c4\uba54\uc778 \uac04\uc758 \uc774\ubbf8\uc9c0 \ubcc0\ud658\uc744 \ud559\uc2b5\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \ub9d0\uc758 \uc774\ubbf8\uc9c0\ub97c \uc5bc\ub8e9\ub9d0\uc758 \uc774\ubbf8\uc9c0\ub85c \ubcc0\ud658\ud558\uac70\ub098, \uc5ec\ub984 \ud48d\uacbd \uc0ac\uc9c4\uc744 \uaca8\uc6b8 \ud48d\uacbd \uc0ac\uc9c4\uc73c\ub85c \ubcc0\ud658\ud558\ub294 \uc791\uc5c5\uc774 \uac00\ub2a5\ud574\uc9d1\ub2c8\ub2e4. CycleGAN\uc740 \ub450 \uac1c\uc758 \uc0dd\uc131\uc790\uc640 \ub450 \uac1c\uc758 \ud310\ubcc4\uc790\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub450 \ub3c4\uba54\uc778 \uc0ac\uc774\uc758 \ubcc0\ud658\uc744 \ud559\uc2b5\ud569\ub2c8\ub2e4.\n<\/p>\n<h3>2.1 CycleGAN\uc758 \uc8fc\uc694 \uad6c\uc131 \uc694\uc18c<\/h3>\n<ul>\n<li><strong>\ub450 \uac1c\uc758 \uc0dd\uc131\uc790:<\/strong> \ud558\ub098\ub294 \ub3c4\uba54\uc778 X\uc5d0\uc11c \ub3c4\uba54\uc778 Y\ub85c, \ub2e4\ub978 \ud558\ub098\ub294 \ub3c4\uba54\uc778 Y\uc5d0\uc11c \ub3c4\uba54\uc778 X\ub85c \ubcc0\ud658\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ub450 \uac1c\uc758 \ud310\ubcc4\uc790:<\/strong> \uac01\uac01\uc758 \ub3c4\uba54\uc778\uc5d0\uc11c \uc9c4\uc9dc\uc640 \uac00\uc9dc\ub97c \uad6c\ubcc4\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Cycle Consistency Loss:<\/strong> \ubcc0\ud658\uc744 \ud1b5\ud574 \uc5bb\uc740 \uc774\ubbf8\uc9c0\uac00 \uc6d0\ub798 \uc774\ubbf8\uc9c0\ub85c \ubcf5\uc6d0\ub420 \uc218 \uc788\uc5b4\uc57c \ud55c\ub2e4\ub294 \uc870\uac74\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>2.2 CycleGAN\uc758 \ub3d9\uc791 \uc6d0\ub9ac<\/h3>\n<p>\n    CycleGAN\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \ub2e8\uacc4\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4:\n<\/p>\n<ol>\n<li>\ub3c4\uba54\uc778 X\uc5d0\uc11c \uc0dd\uc131\uc790\ub294 \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud558\uace0, \ud310\ubcc4\uc790\ub294 \uc774 \ub370\uc774\ud130\uac00 \uc9c4\uc9dc\uc778\uc9c0 \uac00\uc9dc\uc778\uc9c0 \ud310\ub2e8\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc0dd\uc131\ub41c \uc774\ubbf8\uc9c0\ub294 \ub2e4\uc2dc \ub3c4\uba54\uc778 Y\ub85c \ubcc0\ud658\ub418\uc5b4 \uc6d0\ub798 \uc774\ubbf8\uc9c0\ub97c \ubcf5\uc6d0\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud560\ub2f9\ub41c \uc190\uc2e4 \ud568\uc218\uc5d0 \ub530\ub77c \uac01 \ubaa8\ub378\uc740 \ud559\uc2b5\uc744 \uc9c4\ud589\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>3. CycleGAN\uc758 \ud30c\uc774\ud1a0\uce58 \uad6c\ud604<\/h2>\n<p>\n    \uc774\uc81c CycleGAN\uc744 \ud30c\uc774\ud1a0\uce58\ub85c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud30c\uc774\ud1a0\uce58\ub294 \ub525\ub7ec\ub2dd \ubaa8\ub378\uc744 \uc791\uc131\ud558\uae30\uc5d0 \ud6a8\uc728\uc801\uc778 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc0ac\uc6a9\uc790 \uce5c\ud654\uc801\uc778 API\uc640 \ub3d9\uc801 \uacc4\uc0b0 \uadf8\ub798\ud504\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. CycleGAN\uc744 \uad6c\ud604\ud558\uae30 \uc704\ud574 \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>pip install torch torchvision<\/code><\/pre>\n<h3>3.1 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc784\ud3ec\ud2b8<\/h3>\n<pre><code>\nimport torch\nimport torch.nn as nn\nimport torch.optim as optim\nfrom torchvision import datasets, transforms\n<\/code><\/pre>\n<h3>3.2 \ubaa8\ub378 \uc815\uc758<\/h3>\n<p>\n    CycleGAN\uc758 \uc0dd\uc131\uc790\ub294 \uc77c\ubc18\uc801\uc73c\ub85c U-Net \uad6c\uc870\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc0dd\uc131\uc790\uc640 \ud310\ubcc4\uc790\uc758 \uad6c\uc870\ub97c \uc544\ub798\uc640 \uac19\uc774 \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4.\n<\/p>\n<pre><code>\nclass Generator(nn.Module):\n    def __init__(self):\n        super(Generator, self).__init__()\n        self.model = nn.Sequential(\n            nn.Conv2d(3, 64, kernel_size=7, stride=1, padding=3),\n            nn.ReLU(inplace=True),\n            # \ucd94\uac00\uc801\uc778 \ub808\uc774\uc5b4\ub97c \uc5ec\uae30\uc5d0 \ucd94\uac00\n            nn.ConvTranspose2d(64, 3, kernel_size=7, stride=1, padding=3)\n        )\n\n    def forward(self, x):\n        return self.model(x)\n\nclass Discriminator(nn.Module):\n    def __init__(self):\n        super(Discriminator, self).__init__()\n        self.model = nn.Sequential(\n            nn.Conv2d(3, 64, kernel_size=4, stride=2, padding=1),\n            nn.LeakyReLU(0.2, inplace=True),\n            # \ucd94\uac00\uc801\uc778 \ub808\uc774\uc5b4\ub97c \uc5ec\uae30\uc5d0 \ucd94\uac00\n            nn.Conv2d(64, 1, kernel_size=4, stride=1, padding=1)\n        )\n\n    def forward(self, x):\n        return self.model(x)\n<\/code><\/pre>\n<h3>3.3 \ub370\uc774\ud130\uc14b \uc900\ube44<\/h3>\n<p>\n    CycleGAN\uc744 \ud559\uc2b5\ud558\uae30 \uc704\ud574 \uc774\ubbf8\uc9c0 \ub370\uc774\ud130\uc14b\uc744 \uc900\ube44\ud569\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\uc11c\ub294 \u2018horse2zebra\u2019 \ub370\uc774\ud130\uc14b\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \ub370\uc774\ud130\uc14b\uc744 \ub2e4\uc6b4\ub85c\ub4dc\ud558\uace0 \ub370\uc774\ud130 \ub85c\ub354\ub97c \uc815\uc758\ud558\ub294 \ucf54\ub4dc\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n<\/p>\n<pre><code>\ntransform = transforms.Compose([\n    transforms.Resize((256, 256)),\n    transforms.ToTensor(),\n])\n\ntrain_dataset_x = datasets.ImageFolder('path_to_horse_dataset', transform=transform)\ntrain_loader_x = torch.utils.data.DataLoader(train_dataset_x, batch_size=1, shuffle=True)\n\ntrain_dataset_y = datasets.ImageFolder('path_to_zebra_dataset', transform=transform)\ntrain_loader_y = torch.utils.data.DataLoader(train_dataset_y, batch_size=1, shuffle=True)\n<\/code><\/pre>\n<h3>3.4 \uc190\uc2e4 \ud568\uc218 \ubc0f \ucd5c\uc801\ud654\uae30 \uc124\uc815<\/h3>\n<p>\n    CycleGAN\uc5d0\uc11c\ub294 \ub450 \uac00\uc9c0 \uc190\uc2e4 \ud568\uc218, \uc989 \uc801\ub300\uc801 \uc190\uc2e4(Discriminator Loss)\uacfc \uc0ac\uc774\ud074 \uc77c\uad00\uc131 \uc190\uc2e4(Cycle Consistency Loss)\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc544\ub798\uc5d0 \uc774\ub4e4\uc744 \uc815\uc758\ud55c \uc608\uc81c\uac00 \uc788\uc2b5\ub2c8\ub2e4.\n<\/p>\n<pre><code>\ndef discriminator_loss(real, fake):\n    real_loss = criterion(real, torch.ones_like(real))\n    fake_loss = criterion(fake, torch.zeros_like(fake))\n    return (real_loss + fake_loss) \/ 2\n\ndef cycle_loss(real_image, cycled_image, lambda_cycle):\n    return lambda_cycle * nn.L1Loss()(real_image, cycled_image)\n<\/code><\/pre>\n<h3>3.5 \ubaa8\ub378 \ud559\uc2b5<\/h3>\n<p>\n    CycleGAN\uc758 \ud559\uc2b5 \uacfc\uc815\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uac01 \uc5d0\ud3ed\ub9c8\ub2e4 \ub450 \ub3c4\uba54\uc778\uc5d0\uc11c \ubaa8\ub378\uc744 \uc5c5\ub370\uc774\ud2b8\ud558\uace0 \uc190\uc2e4\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>\ndef train(cycle_gan, dataloader_x, dataloader_y, num_epochs):\n    for epoch in range(num_epochs):\n        for real_x, real_y in zip(dataloader_x, dataloader_y):\n            #\uce74\uc6b4\ud130 \ucf54\ub4dc \uc0dd\uc131 \ubc0f \uc190\uc2e4 \uacc4\uc0b0 \uacfc\uc815\n            #\ubaa8\ub378 \ud30c\ub77c\ubbf8\ud130 \uc5c5\ub370\uc774\ud2b8\n            #\uc190\uc2e4 \ucd9c\ub825\n<\/code><\/pre>\n<h3>3.6 \uacb0\uacfc \uc2dc\uac01\ud654<\/h3>\n<p>\n    \ubaa8\ub378 \ud559\uc2b5\uc774 \uc644\ub8cc\ub418\uba74 \uc0dd\uc131\ub41c \uc774\ubbf8\uc9c0\ub97c \uc2dc\uac01\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc740 \ud559\uc2b5 \uacfc\uc815\uc5d0\uc11c \uc0dd\uc131\ub41c \uc774\ubbf8\uc9c0\ub97c \ud655\uc778\ud558\uace0, \ubaa8\ub378\uc758 \uc131\ub2a5\uc744 \ud3c9\uac00\ud558\ub294 \ub370 \uc720\uc6a9\ud569\ub2c8\ub2e4.\n<\/p>\n<pre><code>\nimport matplotlib.pyplot as plt\n\ndef visualize_results(real_x, fake_y, cycled_x):\n    plt.figure(figsize=(12, 12))\n    plt.subplot(1, 3, 1)\n    plt.title(\"Real X\")\n    plt.imshow(real_x.permute(1, 2, 0).detach().numpy())\n    \n    plt.subplot(1, 3, 2)\n    plt.title(\"Fake Y\")\n    plt.imshow(fake_y.permute(1, 2, 0).detach().numpy())\n\n    plt.subplot(1, 3, 3)\n    plt.title(\"Cycled X\")\n    plt.imshow(cycled_x.permute(1, 2, 0).detach().numpy())\n    plt.show()\n<\/code><\/pre>\n<h2>4. CycleGAN\uc758 \uc751\uc6a9 \uc0ac\ub840<\/h2>\n<p>\n    CycleGAN\uc740 \ub2e4\uc591\ud55c \ubd84\uc57c\uc5d0\uc11c \uc751\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uba87 \uac00\uc9c0 \uc608\uc2dc\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\n<\/p>\n<ul>\n<li><strong>\uc2a4\ud0c0\uc77c \uc804\uc774:<\/strong> \uc0ac\uc9c4\uc758 \uc2a4\ud0c0\uc77c\uc744 \ubcc0\uacbd\ud558\uc5ec \uc608\uc220 \uc791\ud488\uc73c\ub85c \ubcc0\ud658\ud558\ub294 \uc791\uc5c5\uc5d0 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\uc774\ubbf8\uc9c0 \ubcf5\uc6d0:<\/strong> \uc800\ud574\uc0c1\ub3c4 \uc774\ubbf8\uc9c0\ub97c \uace0\ud574\uc0c1\ub3c4\ub85c \ubcc0\ud658\ud558\ub294 \uc791\uc5c5\uc774 \uac00\ub2a5\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ube44\uac00\uc5ed\uc801 \ubcc0\ud658:<\/strong> \uc608\ub97c \ub4e4\uc5b4, \uc5ec\ub984 \uc774\ubbf8\uc9c0\ub97c \uaca8\uc6b8 \uc774\ubbf8\uc9c0\ub85c \ubcc0\ud658\ud558\ub294 \uac83\uacfc \uac19\uc740 \uc791\uc5c5\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uacb0\ub860<\/h2>\n<p>\n    CycleGAN\uc740 \uc774\ubbf8\uc9c0 \ubcc0\ud658 \ubd84\uc57c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud55c \ub3c4\uad6c\ub85c, \ub450 \ub3c4\uba54\uc778 \uac04\uc758 \ube44\uc9c0\ub3c4 \ud559\uc2b5\uc744 \ud1b5\ud574 \ub6f0\uc5b4\ub09c \uc131\ub2a5\uc744 \ubcf4\uc785\ub2c8\ub2e4. \ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud558\uba74 CycleGAN\uc744 \uac04\ud3b8\ud558\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc73c\uba70, \ub2e4\uc591\ud55c \uc774\ubbf8\uc9c0 \ubcc0\ud658 \uc791\uc5c5\uc5d0 \uc751\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\ub97c \ud1b5\ud574 CycleGAN\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c \uad6c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c \ub354 \ub9ce\uc740 \ud504\ub85c\uc81d\ud2b8\uc640 \uc2e4\ud5d8\uc744 \ud1b5\ud574 CycleGAN\uc758 \uc131\ub2a5\uc744 \uadf9\ub300\ud654\ud560 \uc218 \uc788\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.\n<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Generative Adversarial Networks (GANs)\uc740 Ian Goodfellow\uc640 \uadf8\uc758 \ub3d9\ub8cc\ub4e4\uc5d0 \uc758\ud574 2014\ub144 \uc81c\uc548\ub41c \ub525\ub7ec\ub2dd \ubaa8\ub378\uc785\ub2c8\ub2e4. GAN\uc740 \ub450 \uac1c\uc758 \uc2e0\uacbd\ub9dd\uc778 \uc0dd\uc131\uc790(Generator)\uc640 \ud310\ubcc4\uc790(Discriminator)\uac00 \uc11c\ub85c \uacbd\uc7c1\ud558\uba74\uc11c \ud559\uc2b5\ud558\ub294 \uad6c\uc870\ub85c \ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0dd\uc131\uc790\ub294 \ub354\uc6b1 \ub354 \uc9c4\uc9dc \uac19\uc740 \ub370\uc774\ud130\ub97c \ub9cc\ub4e4\uace0, \ud310\ubcc4\uc790\ub294 \uc9c4\uc9dc \ub370\uc774\ud130\uc640 \uac00\uc9dc \ub370\uc774\ud130\ub97c \uad6c\ubcc4\ud558\ub294 \ub2a5\ub825\uc744 \ud0a4\uc6b0\uac8c \ub429\ub2c8\ub2e4. 1. GAN\uc758 \uae30\ubcf8 \uac1c\ub150 GAN\uc758 \uae30\ubcf8 \uc544\uc774\ub514\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uc0dd\uc131\uc790\ub294 \ub79c\ub364 \ub178\uc774\uc988\ub97c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/29788\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[32],"tags":[],"class_list":["post-29788","post","type-post","status-publish","format-standard","hentry","category-gan--"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/29788\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Generative Adversarial Networks (GANs)\uc740 Ian Goodfellow\uc640 \uadf8\uc758 \ub3d9\ub8cc\ub4e4\uc5d0 \uc758\ud574 2014\ub144 \uc81c\uc548\ub41c \ub525\ub7ec\ub2dd \ubaa8\ub378\uc785\ub2c8\ub2e4. GAN\uc740 \ub450 \uac1c\uc758 \uc2e0\uacbd\ub9dd\uc778 \uc0dd\uc131\uc790(Generator)\uc640 \ud310\ubcc4\uc790(Discriminator)\uac00 \uc11c\ub85c \uacbd\uc7c1\ud558\uba74\uc11c \ud559\uc2b5\ud558\ub294 \uad6c\uc870\ub85c \ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0dd\uc131\uc790\ub294 \ub354\uc6b1 \ub354 \uc9c4\uc9dc \uac19\uc740 \ub370\uc774\ud130\ub97c \ub9cc\ub4e4\uace0, \ud310\ubcc4\uc790\ub294 \uc9c4\uc9dc \ub370\uc774\ud130\uc640 \uac00\uc9dc \ub370\uc774\ud130\ub97c \uad6c\ubcc4\ud558\ub294 \ub2a5\ub825\uc744 \ud0a4\uc6b0\uac8c \ub429\ub2c8\ub2e4. 1. GAN\uc758 \uae30\ubcf8 \uac1c\ub150 GAN\uc758 \uae30\ubcf8 \uc544\uc774\ub514\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uc0dd\uc131\uc790\ub294 \ub79c\ub364 \ub178\uc774\uc988\ub97c &hellip; \ub354 \ubcf4\uae30 &quot;\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/29788\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T03:00:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:51:22+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/29788\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/29788\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c\",\"datePublished\":\"2024-10-28T03:00:03+00:00\",\"dateModified\":\"2024-11-26T06:51:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/29788\/\"},\"wordCount\":53,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"GAN \ub525\ub7ec\ub2dd \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/29788\/\",\"url\":\"https:\/\/atmokpo.com\/w\/29788\/\",\"name\":\"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T03:00:03+00:00\",\"dateModified\":\"2024-11-26T06:51:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/29788\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/29788\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/29788\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/29788\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Generative Adversarial Networks (GANs)\uc740 Ian Goodfellow\uc640 \uadf8\uc758 \ub3d9\ub8cc\ub4e4\uc5d0 \uc758\ud574 2014\ub144 \uc81c\uc548\ub41c \ub525\ub7ec\ub2dd \ubaa8\ub378\uc785\ub2c8\ub2e4. GAN\uc740 \ub450 \uac1c\uc758 \uc2e0\uacbd\ub9dd\uc778 \uc0dd\uc131\uc790(Generator)\uc640 \ud310\ubcc4\uc790(Discriminator)\uac00 \uc11c\ub85c \uacbd\uc7c1\ud558\uba74\uc11c \ud559\uc2b5\ud558\ub294 \uad6c\uc870\ub85c \ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0dd\uc131\uc790\ub294 \ub354\uc6b1 \ub354 \uc9c4\uc9dc \uac19\uc740 \ub370\uc774\ud130\ub97c \ub9cc\ub4e4\uace0, \ud310\ubcc4\uc790\ub294 \uc9c4\uc9dc \ub370\uc774\ud130\uc640 \uac00\uc9dc \ub370\uc774\ud130\ub97c \uad6c\ubcc4\ud558\ub294 \ub2a5\ub825\uc744 \ud0a4\uc6b0\uac8c \ub429\ub2c8\ub2e4. 1. GAN\uc758 \uae30\ubcf8 \uac1c\ub150 GAN\uc758 \uae30\ubcf8 \uc544\uc774\ub514\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. \uc0dd\uc131\uc790\ub294 \ub79c\ub364 \ub178\uc774\uc988\ub97c &hellip; \ub354 \ubcf4\uae30 \"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c\"","og_url":"https:\/\/atmokpo.com\/w\/29788\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T03:00:03+00:00","article_modified_time":"2024-11-26T06:51:22+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/29788\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/29788\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c","datePublished":"2024-10-28T03:00:03+00:00","dateModified":"2024-11-26T06:51:22+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/29788\/"},"wordCount":53,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["GAN \ub525\ub7ec\ub2dd \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/29788\/","url":"https:\/\/atmokpo.com\/w\/29788\/","name":"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T03:00:03+00:00","dateModified":"2024-11-26T06:51:22+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/29788\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/29788\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/29788\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\ud1a0\uce58\ub97c \ud65c\uc6a9\ud55c GAN \ub525\ub7ec\ub2dd, CycleGAN \uc18c\uac1c"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/29788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=29788"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/29788\/revisions"}],"predecessor-version":[{"id":29789,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/29788\/revisions\/29789"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=29788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=29788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=29788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}