{"id":36323,"date":"2024-11-01T09:47:32","date_gmt":"2024-11-01T09:47:32","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=36323"},"modified":"2024-11-01T11:00:23","modified_gmt":"2024-11-01T11:00:23","slug":"deep-learning-with-pytorch-introduction-to-gan","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/36323\/","title":{"rendered":"Deep Learning with PyTorch, Introduction to GAN"},"content":{"rendered":"<p><body><\/p>\n<article>\n<section>\n<h2>1. Introduction to GAN (Generative Adversarial Network)<\/h2>\n<p>\n                GAN (Generative Adversarial Network) is a deep learning model first proposed by Ian Goodfellow in 2014,<br \/>\n                consisting of two neural networks: a Generator and a Discriminator that compete with each other.<br \/>\n                The Generator creates fake data, while the Discriminator is responsible for determining whether the data is real or fake.<br \/>\n                These two networks continuously learn to improve each other&#8217;s performance.\n            <\/p>\n<p>\n                The core idea of GANs is &#8220;Adversarial Training&#8221;.<br \/>\n                The Generator continues to produce more convincing fake data to prevent the Discriminator from accurately distinguishing<br \/>\n                between real and fake data. In contrast, the Discriminator learns more elaborately to accurately judge whether the data created by the Generator is real or fake.<br \/>\n                This competitive structure is a unique feature of GANs, which are utilized in various fields, including creative image generation, video generation, and text generation.\n            <\/p>\n<h2>2. Structure and Learning Process of GANs<\/h2>\n<p>\n                The learning process of GANs consists of the following stages:\n            <\/p>\n<ol>\n<li><strong>Data Collection:<\/strong> GANs require a large amount of data, typically using samples from real datasets.<\/li>\n<li><strong>Training the Generator:<\/strong> The Generator takes noise (z) as input and generates fake images (or data).<\/li>\n<li><strong>Training the Discriminator:<\/strong> The Discriminator takes real images and fake images created by the Generator as input and predicts whether they are real or fake.<\/li>\n<li><strong>Loss Function Calculation:<\/strong> The loss function is calculated to evaluate the performance of both the Generator and the Discriminator.<br \/>\n                The Generator&#8217;s goal is to deceive the Discriminator, while the Discriminator&#8217;s goal is to accurately judge the fake images created by the Generator.<\/li>\n<li><strong>Model Update:<\/strong> Based on the loss function, both the Generator and the Discriminator update their model parameters using optimization algorithms.<\/li>\n<li><strong>Iteration:<\/strong> Steps 2 to 5 are repeated to ensure that both networks can mutually improve.<\/li>\n<\/ol>\n<p>\n                In this way, the Generator gradually produces better images, and the Discriminator becomes more proficient at distinguishing them.<br \/>\n                As this process is repeated, the Generator eventually reaches a level where it can produce very realistic data.\n            <\/p>\n<h2>3. How to Implement GAN<\/h2>\n<p>\n                Now, let&#8217;s implement GAN using PyTorch.<br \/>\n                In this example, we will create a simple GAN to work with the hand-written digit dataset, MNIST.<br \/>\n                MNIST consists of 70,000 grayscale images containing digits from 0 to 9.<br \/>\n                Our goal is to generate images of these digits.\n            <\/p>\n<h3>3.1. Install Required Libraries<\/h3>\n<p>\n                First, we need to install PyTorch and other necessary libraries.<br \/>\n                You can install the required packages using the command below.\n            <\/p>\n<pre><code>!pip install torch torchvision matplotlib<\/code><\/pre>\n<h3>3.2. Load and Preprocess the Dataset<\/h3>\n<p>\n                Now, we will load the MNIST dataset, transform it into Tensor format, and prepare it for training.\n            <\/p>\n<pre><code>\nimport torch\nfrom torchvision import datasets, transforms\n\n# Data transformation settings\ntransform = transforms.Compose([\n    transforms.ToTensor(),\n    transforms.Normalize((0.5,), (0.5,))\n])\n\n# Download and load MNIST dataset\ntrain_dataset = datasets.MNIST(root='.\/data', train=True, download=True, transform=transform)\ntrain_loader = torch.utils.data.DataLoader(dataset=train_dataset, batch_size=64, shuffle=True)\n<\/code><\/pre>\n<h3>3.3. Define the Generator and Discriminator of GAN<\/h3>\n<p>\n                We will define the Generator and Discriminator of the GAN.<br \/>\n                The Generator takes random noise as input to generate images, while the Discriminator determines whether the given image is real or fake.\n            <\/p>\n<pre><code>\nimport torch.nn as nn\n\n# Generator definition\nclass Generator(nn.Module):\n    def __init__(self):\n        super(Generator, self).__init__()\n        self.model = nn.Sequential(\n            nn.Linear(100, 256),\n            nn.ReLU(),\n            nn.Linear(256, 512),\n            nn.ReLU(),\n            nn.Linear(512, 1024),\n            nn.ReLU(),\n            nn.Linear(1024, 28 * 28),\n            nn.Tanh() # Normalize the output to -1 ~ 1\n        )\n\n    def forward(self, z):\n        return self.model(z).view(-1, 1, 28, 28)\n\n# Discriminator definition\nclass Discriminator(nn.Module):\n    def __init__(self):\n        super(Discriminator, self).__init__()\n        self.model = nn.Sequential(\n            nn.Flatten(),\n            nn.Linear(28 * 28, 1024),\n            nn.LeakyReLU(0.2),\n            nn.Linear(1024, 512),\n            nn.LeakyReLU(0.2),\n            nn.Linear(512, 256),\n            nn.LeakyReLU(0.2),\n            nn.Linear(256, 1),\n            nn.Sigmoid() # Normalize the output to 0 ~ 1\n        )\n\n    def forward(self, img):\n        return self.model(img)\n<\/code><\/pre>\n<h3>3.4. Set Loss Function and Optimization Algorithm<\/h3>\n<p>\n                The loss function of GAN consists of two losses.<br \/>\n                We will set the Generator&#8217;s loss and the Discriminator&#8217;s loss, and define the optimization algorithms for both neural networks.\n            <\/p>\n<pre><code>\nimport torch.optim as optim\n\n# Initialize models\ngenerator = Generator()\ndiscriminator = Discriminator()\n\n# Set loss function and optimization algorithms\ncriterion = nn.BCELoss()\noptimizer_G = optim.Adam(generator.parameters(), lr=0.0002, betas=(0.5, 0.999))\noptimizer_D = optim.Adam(discriminator.parameters(), lr=0.0002, betas=(0.5, 0.999))\n<\/code><\/pre>\n<h3>3.5. Train the GAN<\/h3>\n<p>\n                Now, let&#8217;s train the GAN.<br \/>\n                During the training process, the Generator and the Discriminator are trained alternately.\n            <\/p>\n<pre><code>\nimport matplotlib.pyplot as plt\n\ndef train_gan(num_epochs):\n    for epoch in range(num_epochs):\n        for i, (imgs, _) in enumerate(train_loader):\n            # Labels for real images\n            real_imgs = imgs\n            real_labels = torch.ones(real_imgs.size(0), 1)\n            fake_labels = torch.zeros(real_imgs.size(0), 1)\n\n            # Train the Discriminator\n            optimizer_D.zero_grad()\n            outputs = discriminator(real_imgs)\n            d_loss_real = criterion(outputs, real_labels)\n            d_loss_real.backward()\n\n            z = torch.randn(real_imgs.size(0), 100)\n            fake_imgs = generator(z)\n            outputs = discriminator(fake_imgs.detach())\n            d_loss_fake = criterion(outputs, fake_labels)\n            d_loss_fake.backward()\n            optimizer_D.step()\n\n            # Train the Generator\n            optimizer_G.zero_grad()\n            outputs = discriminator(fake_imgs)\n            g_loss = criterion(outputs, real_labels)\n            g_loss.backward()\n            optimizer_G.step()\n\n        if epoch % 100 == 0:\n            print(f'Epoch [{epoch}\/{num_epochs}], d_loss: {d_loss_real.item() + d_loss_fake.item():.4f}, g_loss: {g_loss.item():.4f}')\n\n            # Display generated images\n            with torch.no_grad():\n                generated_images = generator(torch.randn(64, 100)).detach().cpu()\n                plt.figure(figsize=(10, 10))\n                plt.imshow(torchvision.utils.make_grid(generated_images, nrow=8, normalize=True).permute(1, 2, 0))\n                plt.axis('off')\n                plt.show()\n\ntrain_gan(num_epochs=1000)\n<\/code><\/pre>\n<h2>4. Conclusion<\/h2>\n<p>\n                GANs are very powerful generative models that are applied in various fields.<br \/>\n                In this tutorial, we explored how to implement GAN using PyTorch.<br \/>\n                By learning through the competition between the Generator and the Discriminator, GANs can generate high-quality data.<br \/>\n                For practical applications, various techniques (e.g., conditional GAN, style GAN, etc.) can be used to improve performance.\n            <\/p>\n<p>\n                In the future, we will discuss more advanced GAN architectures and their applications.<br \/>\n                GANs are still under active research, and new methods of GAN are continuously being introduced, so it is important to keep an eye on updates related to them.\n            <\/p>\n<\/section>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Introduction to GAN (Generative Adversarial Network) GAN (Generative Adversarial Network) is a deep learning model first proposed by Ian Goodfellow in 2014, consisting of two neural networks: a Generator and a Discriminator that compete with each other. The Generator creates fake data, while the Discriminator is responsible for determining whether the data is real &hellip; <a href=\"https:\/\/atmokpo.com\/w\/36323\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Deep Learning with PyTorch, Introduction to GAN&#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":[113],"tags":[],"class_list":["post-36323","post","type-post","status-publish","format-standard","hentry","category-gan-deep-learning-course"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Deep Learning with PyTorch, Introduction to GAN - \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\/36323\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deep Learning with PyTorch, Introduction to GAN - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. Introduction to GAN (Generative Adversarial Network) GAN (Generative Adversarial Network) is a deep learning model first proposed by Ian Goodfellow in 2014, consisting of two neural networks: a Generator and a Discriminator that compete with each other. The Generator creates fake data, while the Discriminator is responsible for determining whether the data is real &hellip; \ub354 \ubcf4\uae30 &quot;Deep Learning with PyTorch, Introduction to GAN&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/36323\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:47:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:00:23+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=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/36323\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36323\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Deep Learning with PyTorch, Introduction to GAN\",\"datePublished\":\"2024-11-01T09:47:32+00:00\",\"dateModified\":\"2024-11-01T11:00:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36323\/\"},\"wordCount\":618,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"GAN deep learning course\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/36323\/\",\"url\":\"https:\/\/atmokpo.com\/w\/36323\/\",\"name\":\"Deep Learning with PyTorch, Introduction to GAN - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:47:32+00:00\",\"dateModified\":\"2024-11-01T11:00:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36323\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/36323\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/36323\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deep Learning with PyTorch, Introduction to GAN\"}]},{\"@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":"Deep Learning with PyTorch, Introduction to GAN - \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\/36323\/","og_locale":"ko_KR","og_type":"article","og_title":"Deep Learning with PyTorch, Introduction to GAN - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. Introduction to GAN (Generative Adversarial Network) GAN (Generative Adversarial Network) is a deep learning model first proposed by Ian Goodfellow in 2014, consisting of two neural networks: a Generator and a Discriminator that compete with each other. The Generator creates fake data, while the Discriminator is responsible for determining whether the data is real &hellip; \ub354 \ubcf4\uae30 \"Deep Learning with PyTorch, Introduction to GAN\"","og_url":"https:\/\/atmokpo.com\/w\/36323\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:47:32+00:00","article_modified_time":"2024-11-01T11:00:23+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":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/36323\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/36323\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Deep Learning with PyTorch, Introduction to GAN","datePublished":"2024-11-01T09:47:32+00:00","dateModified":"2024-11-01T11:00:23+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/36323\/"},"wordCount":618,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["GAN deep learning course"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/36323\/","url":"https:\/\/atmokpo.com\/w\/36323\/","name":"Deep Learning with PyTorch, Introduction to GAN - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:47:32+00:00","dateModified":"2024-11-01T11:00:23+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/36323\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/36323\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/36323\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Deep Learning with PyTorch, Introduction to GAN"}]},{"@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\/36323","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=36323"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36323\/revisions"}],"predecessor-version":[{"id":36324,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36323\/revisions\/36324"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=36323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=36323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=36323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}