{
  "id": 199903,
  "title": "Using GANs for data augmentation",
  "url": "/competitions/cassava-leaf-disease-classification/discussion/199903",
  "author_name": "DimitreOliveira",
  "post_date": "2020-11-27T22:11:49.171000",
  "votes": 26,
  "comment_count": 15,
  "views": 0,
  "content": "<p>I was thinking about doing some experimentations to use GANs and generate synthetic data and maybe use it for pre-training, I saw that some people already <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199276#1090329\" target=\"_blank\">mentioned</a> this <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199131\" target=\"_blank\">idea</a>, but I am curious as to what kind of GAN would work better here, I already have <a href=\"https://www.kaggle.com/dimitreoliveira/introduction-to-cyclegan-monet-paintings\" target=\"_blank\">some experience</a> with <a href=\"https://www.kaggle.com/dimitreoliveira/improving-cyclegan-monet-paintings\" target=\"_blank\">CycleGAN</a>, but maybe there is a more recent architecture.</p>\n<p>Update 1: Just found the <a href=\"https://github.com/IyatomiLab/LeafGAN\" target=\"_blank\">GitHub of LeafGAN</a>, unfortunately, they have not provided the code yet.<br>\nUpdate 2: I have just created a notebook <a href=\"https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook\" target=\"_blank\">Cassava Leaf Disease - CycleGAN data augmentation</a> that implements CycleGAN and generates leaf images of the 4 diseases types from healthy images.</p>",
  "messages": [
    {
      "id": 1093652,
      "postDate": "2020-11-27T22:11:49.170Z",
      "content": "<p>I was thinking about doing some experimentations to use GANs and generate synthetic data and maybe use it for pre-training, I saw that some people already <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199276#1090329\" target=\"_blank\">mentioned</a> this <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199131\" target=\"_blank\">idea</a>, but I am curious as to what kind of GAN would work better here, I already have <a href=\"https://www.kaggle.com/dimitreoliveira/introduction-to-cyclegan-monet-paintings\" target=\"_blank\">some experience</a> with <a href=\"https://www.kaggle.com/dimitreoliveira/improving-cyclegan-monet-paintings\" target=\"_blank\">CycleGAN</a>, but maybe there is a more recent architecture.</p>\n<p>Update 1: Just found the <a href=\"https://github.com/IyatomiLab/LeafGAN\" target=\"_blank\">GitHub of LeafGAN</a>, unfortunately, they have not provided the code yet.<br>\nUpdate 2: I have just created a notebook <a href=\"https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook\" target=\"_blank\">Cassava Leaf Disease - CycleGAN data augmentation</a> that implements CycleGAN and generates leaf images of the 4 diseases types from healthy images.</p>",
      "rawMarkdown": "I was thinking about doing some experimentations to use GANs and generate synthetic data and maybe use it for pre-training, I saw that some people already [mentioned](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199276#1090329) this [idea](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199131), but I am curious as to what kind of GAN would work better here, I already have [some experience](https://www.kaggle.com/dimitreoliveira/introduction-to-cyclegan-monet-paintings) with [CycleGAN](https://www.kaggle.com/dimitreoliveira/improving-cyclegan-monet-paintings), but maybe there is a more recent architecture.\n\nUpdate 1: Just found the [GitHub of LeafGAN](https://github.com/IyatomiLab/LeafGAN), unfortunately, they have not provided the code yet.\nUpdate 2: I have just created a notebook [Cassava Leaf Disease - CycleGAN data augmentation](https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook) that implements CycleGAN and generates leaf images of the 4 diseases types from healthy images.",
      "votes": 26
    },
    {
      "id": 1100578,
      "postDate": "2020-12-03T06:56:15.580Z",
      "content": "<p>According to Iyan Goodfellow (the creator of GANs for those who don't know) generating more training data using GANs will not make the model generalize better since the images generated by GANs will replicate already existing features and not bring new features to the table it could lead to overfitting. I tried using it in a previous competition plant pathology and it didn't work, nonetheless I hope you prove me wrong. </p>",
      "rawMarkdown": "According to Iyan Goodfellow (the creator of GANs for those who don't know) generating more training data using GANs will not make the model generalize better since the images generated by GANs will replicate already existing features and not bring new features to the table it could lead to overfitting. I tried using it in a previous competition plant pathology and it didn't work, nonetheless I hope you prove me wrong. ",
      "votes": 1,
      "replies": [
        {
          "id": 1100603,
          "postDate": "2020-12-03T07:26:25.647Z",
          "content": "<p>Actually the intuition behind using these generated images is that, in many cases they are better than hand-crafted synthetic examples, and can improve a downstream model’s generalization as well</p>",
          "rawMarkdown": "Actually the intuition behind using these generated images is that, in many cases they are better than hand-crafted synthetic examples, and can improve a downstream model’s generalization as well\n"
        },
        {
          "id": 1100609,
          "postDate": "2020-12-03T07:30:11.410Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 1101141,
          "postDate": "2020-12-03T16:54:45.173Z",
          "content": "<p>Thanks for your input <a href=\"https://www.kaggle.com/aziz69\" target=\"_blank\">@aziz69</a> , I have seen people using GAN generated data with good results in some applications, and I also believe that in some cases it might be useful, here the idea is to translate data from one domain to another, it is different from simply generating data from random distribution to one domain.</p>\n<p>Anyway, If I manage to get good results I can provide the data as TFRecords and it would be very easy to try and evaluate the results.</p>",
          "rawMarkdown": "Thanks for your input @aziz69 , I have seen people using GAN generated data with good results in some applications, and I also believe that in some cases it might be useful, here the idea is to translate data from one domain to another, it is different from simply generating data from random distribution to one domain.\n\nAnyway, If I manage to get good results I can provide the data as TFRecords and it would be very easy to try and evaluate the results.",
          "votes": 1
        }
      ]
    },
    {
      "id": 1098391,
      "postDate": "2020-12-01T16:05:53.070Z",
      "content": "<p>Interesting idea, thanks for sharing with us</p>",
      "rawMarkdown": "Interesting idea, thanks for sharing with us",
      "votes": 1
    },
    {
      "id": 1096353,
      "postDate": "2020-11-30T12:48:08.950Z",
      "content": "<p>A few generated samples from my notebook <a href=\"https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook#Evaluating-generator-models\" target=\"_blank\">Cassava Leaf Disease - CycleGAN data augmentation</a>, I have trained the models for only a few epochs because of the time, but it looks interesting.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fdf20ee33a44d77843f547603e3b44e9b%2Fcbsd.png?generation=1606740430485871&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F7dcaaab42543c774250f43ef930a3b22%2Fcbb.png?generation=1606740444469123&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fb3374380fb555d1b3ff36831f3572cb6%2Fcgm.png?generation=1606740455230574&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F02aef0b81e4ad215fdf809f2c78c4cdb%2Fcmd.png?generation=1606740467241006&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "A few generated samples from my notebook [Cassava Leaf Disease - CycleGAN data augmentation](https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook#Evaluating-generator-models), I have trained the models for only a few epochs because of the time, but it looks interesting.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fdf20ee33a44d77843f547603e3b44e9b%2Fcbsd.png?generation=1606740430485871&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F7dcaaab42543c774250f43ef930a3b22%2Fcbb.png?generation=1606740444469123&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fb3374380fb555d1b3ff36831f3572cb6%2Fcgm.png?generation=1606740455230574&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F02aef0b81e4ad215fdf809f2c78c4cdb%2Fcmd.png?generation=1606740467241006&alt=media)",
      "votes": 1
    },
    {
      "id": 1093657,
      "postDate": "2020-11-27T22:17:38.250Z",
      "content": "<p>Just saw LeafGAN, pointed by Heng <a href=\"https://www.kaggle.com/kmat2019/cycle-gan-to-enlarge-training-data/comments\" target=\"_blank\">here</a>, seems like the ideal solution, not sure yet I can find the code implementation.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F113660%2Ff715d0ba9e6f4d686698c988df642b0a%2FSelection_036.png?generation=1606365075088349&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Just saw LeafGAN, pointed by Heng [here](https://www.kaggle.com/kmat2019/cycle-gan-to-enlarge-training-data/comments), seems like the ideal solution, not sure yet I can find the code implementation.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F113660%2Ff715d0ba9e6f4d686698c988df642b0a%2FSelection_036.png?generation=1606365075088349&alt=media)",
      "votes": 1,
      "replies": [
        {
          "id": 1093781,
          "postDate": "2020-11-28T02:38:24.753Z",
          "content": "<p>Nice finding! If you try CycleGAN, try feeding the output to the input again to see if it works?</p>",
          "rawMarkdown": "Nice finding! If you try CycleGAN, try feeding the output to the input again to see if it works?",
          "votes": 1
        },
        {
          "id": 1094231,
          "postDate": "2020-11-28T12:33:34.477Z",
          "content": "<p>Hey <a href=\"https://www.kaggle.com/aeryss\" target=\"_blank\">@aeryss</a> , I think this has a chance of working if you are able to generate images with very high quality, lets see if I can get a good result, but thanks for the tip.</p>",
          "rawMarkdown": "Hey @aeryss , I think this has a chance of working if you are able to generate images with very high quality, lets see if I can get a good result, but thanks for the tip."
        },
        {
          "id": 1096912,
          "postDate": "2020-11-30T21:45:35.053Z",
          "content": "<p>\" I think this has a chance of working if you are able to generate images with very high quality,\"</p>\n<p>actually it would help even if generate images with low quality. you just need a classifier to classify the quality of the images. for image with low quality, the cross entropy loss is weighted less. </p>\n<p>one can generally treat GAN images as images with noisy labels or unlabelled (but with a new class known as \"none of the target class\")</p>",
          "rawMarkdown": "\" I think this has a chance of working if you are able to generate images with very high quality,\"\n\nactually it would help even if generate images with low quality. you just need a classifier to classify the quality of the images. for image with low quality, the cross entropy loss is weighted less. \n\none can generally treat GAN images as images with noisy labels or unlabelled (but with a new class known as \"none of the target class\")",
          "votes": 1
        },
        {
          "id": 1097158,
          "postDate": "2020-12-01T01:00:26.387Z",
          "content": "<p>That is a great point <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> , I am a big fan of multi-task, using image quality as an auxiliary target sounds good.</p>\n<p>I am thinking about doing some experiments on pre-train as unsupervised learning, maybe using GAN data can help.</p>",
          "rawMarkdown": "That is a great point @hengck23 , I am a big fan of multi-task, using image quality as an auxiliary target sounds good.\n\nI am thinking about doing some experiments on pre-train as unsupervised learning, maybe using GAN data can help."
        },
        {
          "id": 1097259,
          "postDate": "2020-12-01T01:54:55.230Z",
          "content": "<p>check this work as well</p>\n<p><a href=\"https://hirokatsukataoka16.github.io/Pretraining-without-Natural-Images/\" target=\"_blank\">https://hirokatsukataoka16.github.io/Pretraining-without-Natural-Images/</a><br>\nPre-training without Natural Images</p>\n<p>Asian Conference on Computer Vision (ACCV) 2020<br>\nBest Paper Honorable Mention Award<br>\nOral Presentation </p>\n<p>Image space is Fractal?</p>",
          "rawMarkdown": "check this work as well\n\nhttps://hirokatsukataoka16.github.io/Pretraining-without-Natural-Images/\nPre-training without Natural Images\n\nAsian Conference on Computer Vision (ACCV) 2020\nBest Paper Honorable Mention Award\nOral Presentation \n\nImage space is Fractal?",
          "votes": 2
        },
        {
          "id": 1098731,
          "postDate": "2020-12-01T19:53:10.713Z",
          "content": "<p>Thanks <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> , this paper seems amazing, I am not sure but feels like something like pre-pre-training with fractal patterns, is a good idea, those patterns may be a good starting point to \"initialize\" the network with patterns that are very basic yet generic.<br>\nI loved the idea, very creative.</p>",
          "rawMarkdown": "Thanks @hengck23 , this paper seems amazing, I am not sure but feels like something like pre-pre-training with fractal patterns, is a good idea, those patterns may be a good starting point to \"initialize\" the network with patterns that are very basic yet generic.\nI loved the idea, very creative."
        }
      ]
    },
    {
      "id": 1096869,
      "postDate": "2020-11-30T20:46:36.027Z",
      "rawMarkdown": "",
      "votes": 1,
      "isDeleted": true,
      "replies": [
        {
          "id": 1096906,
          "postDate": "2020-11-30T21:36:53.467Z",
          "content": "<p>Hi <a href=\"https://www.kaggle.com/epocxy\" target=\"_blank\">@epocxy</a> , I am not very familiar with many GANs types, but by what I saw it may be a nice option, the issue with CycleGAN is that you have to train many on it.</p>",
          "rawMarkdown": "Hi @epocxy , I am not very familiar with many GANs types, but by what I saw it may be a nice option, the issue with CycleGAN is that you have to train many on it."
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 1100578,
      "author_name": "Aziz_Belaweid",
      "author_url": "",
      "post_date": "2020-12-03T06:56:15.580000",
      "content": "<p>According to Iyan Goodfellow (the creator of GANs for those who don't know) generating more training data using GANs will not make the model generalize better since the images generated by GANs will replicate already existing features and not bring new features to the table it could lead to overfitting. I tried using it in a previous competition plant pathology and it didn't work, nonetheless I hope you prove me wrong. </p>",
      "votes": 1,
      "replies": [
        {
          "id": 1100603,
          "author_name": "Sepideh Nahali",
          "author_url": "",
          "post_date": "2020-12-03T07:26:25.647000",
          "content": "<p>Actually the intuition behind using these generated images is that, in many cases they are better than hand-crafted synthetic examples, and can improve a downstream model’s generalization as well</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1100609,
          "author_name": "",
          "author_url": "",
          "post_date": "2020-12-03T07:30:11.410000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1101141,
          "author_name": "DimitreOliveira",
          "author_url": "",
          "post_date": "2020-12-03T16:54:45.173000",
          "content": "<p>Thanks for your input <a href=\"https://www.kaggle.com/aziz69\" target=\"_blank\">@aziz69</a> , I have seen people using GAN generated data with good results in some applications, and I also believe that in some cases it might be useful, here the idea is to translate data from one domain to another, it is different from simply generating data from random distribution to one domain.</p>\n<p>Anyway, If I manage to get good results I can provide the data as TFRecords and it would be very easy to try and evaluate the results.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1098391,
      "author_name": "GoogleCloudAutoML",
      "author_url": "",
      "post_date": "2020-12-01T16:05:53.070000",
      "content": "<p>Interesting idea, thanks for sharing with us</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1096353,
      "author_name": "DimitreOliveira",
      "author_url": "",
      "post_date": "2020-11-30T12:48:08.950000",
      "content": "<p>A few generated samples from my notebook <a href=\"https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook#Evaluating-generator-models\" target=\"_blank\">Cassava Leaf Disease - CycleGAN data augmentation</a>, I have trained the models for only a few epochs because of the time, but it looks interesting.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fdf20ee33a44d77843f547603e3b44e9b%2Fcbsd.png?generation=1606740430485871&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F7dcaaab42543c774250f43ef930a3b22%2Fcbb.png?generation=1606740444469123&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fb3374380fb555d1b3ff36831f3572cb6%2Fcgm.png?generation=1606740455230574&amp;alt=media\" alt=\"\"><br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F02aef0b81e4ad215fdf809f2c78c4cdb%2Fcmd.png?generation=1606740467241006&amp;alt=media\" alt=\"\"></p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1093657,
      "author_name": "DimitreOliveira",
      "author_url": "",
      "post_date": "2020-11-27T22:17:38.250000",
      "content": "<p>Just saw LeafGAN, pointed by Heng <a href=\"https://www.kaggle.com/kmat2019/cycle-gan-to-enlarge-training-data/comments\" target=\"_blank\">here</a>, seems like the ideal solution, not sure yet I can find the code implementation.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F113660%2Ff715d0ba9e6f4d686698c988df642b0a%2FSelection_036.png?generation=1606365075088349&amp;alt=media\" alt=\"\"></p>",
      "votes": 1,
      "replies": [
        {
          "id": 1093781,
          "author_name": "Long Luu",
          "author_url": "",
          "post_date": "2020-11-28T02:38:24.753000",
          "content": "<p>Nice finding! If you try CycleGAN, try feeding the output to the input again to see if it works?</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1094231,
          "author_name": "DimitreOliveira",
          "author_url": "",
          "post_date": "2020-11-28T12:33:34.477000",
          "content": "<p>Hey <a href=\"https://www.kaggle.com/aeryss\" target=\"_blank\">@aeryss</a> , I think this has a chance of working if you are able to generate images with very high quality, lets see if I can get a good result, but thanks for the tip.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1096912,
          "author_name": "hengck23",
          "author_url": "",
          "post_date": "2020-11-30T21:45:35.053000",
          "content": "<p>\" I think this has a chance of working if you are able to generate images with very high quality,\"</p>\n<p>actually it would help even if generate images with low quality. you just need a classifier to classify the quality of the images. for image with low quality, the cross entropy loss is weighted less. </p>\n<p>one can generally treat GAN images as images with noisy labels or unlabelled (but with a new class known as \"none of the target class\")</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1097158,
          "author_name": "DimitreOliveira",
          "author_url": "",
          "post_date": "2020-12-01T01:00:26.387000",
          "content": "<p>That is a great point <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> , I am a big fan of multi-task, using image quality as an auxiliary target sounds good.</p>\n<p>I am thinking about doing some experiments on pre-train as unsupervised learning, maybe using GAN data can help.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1097259,
          "author_name": "hengck23",
          "author_url": "",
          "post_date": "2020-12-01T01:54:55.230000",
          "content": "<p>check this work as well</p>\n<p><a href=\"https://hirokatsukataoka16.github.io/Pretraining-without-Natural-Images/\" target=\"_blank\">https://hirokatsukataoka16.github.io/Pretraining-without-Natural-Images/</a><br>\nPre-training without Natural Images</p>\n<p>Asian Conference on Computer Vision (ACCV) 2020<br>\nBest Paper Honorable Mention Award<br>\nOral Presentation </p>\n<p>Image space is Fractal?</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 1098731,
          "author_name": "DimitreOliveira",
          "author_url": "",
          "post_date": "2020-12-01T19:53:10.713000",
          "content": "<p>Thanks <a href=\"https://www.kaggle.com/hengck23\" target=\"_blank\">@hengck23</a> , this paper seems amazing, I am not sure but feels like something like pre-pre-training with fractal patterns, is a good idea, those patterns may be a good starting point to \"initialize\" the network with patterns that are very basic yet generic.<br>\nI loved the idea, very creative.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1096869,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-11-30T20:46:36.027000",
      "content": "",
      "votes": 1,
      "replies": [
        {
          "id": 1096906,
          "author_name": "DimitreOliveira",
          "author_url": "",
          "post_date": "2020-11-30T21:36:53.467000",
          "content": "<p>Hi <a href=\"https://www.kaggle.com/epocxy\" target=\"_blank\">@epocxy</a> , I am not very familiar with many GANs types, but by what I saw it may be a nice option, the issue with CycleGAN is that you have to train many on it.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1093652": "I was thinking about doing some experimentations to use GANs and generate synthetic data and maybe use it for pre-training, I saw that some people already [mentioned](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199276#1090329) this [idea](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/199131), but I am curious as to what kind of GAN would work better here, I already have [some experience](https://www.kaggle.com/dimitreoliveira/introduction-to-cyclegan-monet-paintings) with [CycleGAN](https://www.kaggle.com/dimitreoliveira/improving-cyclegan-monet-paintings), but maybe there is a more recent architecture.\n\nUpdate 1: Just found the [GitHub of LeafGAN](https://github.com/IyatomiLab/LeafGAN), unfortunately, they have not provided the code yet.\nUpdate 2: I have just created a notebook [Cassava Leaf Disease - CycleGAN data augmentation](https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook) that implements CycleGAN and generates leaf images of the 4 diseases types from healthy images.",
    "1100578": "According to Iyan Goodfellow (the creator of GANs for those who don't know) generating more training data using GANs will not make the model generalize better since the images generated by GANs will replicate already existing features and not bring new features to the table it could lead to overfitting. I tried using it in a previous competition plant pathology and it didn't work, nonetheless I hope you prove me wrong. ",
    "1098391": "Interesting idea, thanks for sharing with us",
    "1096353": "A few generated samples from my notebook [Cassava Leaf Disease - CycleGAN data augmentation](https://www.kaggle.com/dimitreoliveira/cassava-leaf-disease-cyclegan-data-augmentation/notebook#Evaluating-generator-models), I have trained the models for only a few epochs because of the time, but it looks interesting.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fdf20ee33a44d77843f547603e3b44e9b%2Fcbsd.png?generation=1606740430485871&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F7dcaaab42543c774250f43ef930a3b22%2Fcbb.png?generation=1606740444469123&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2Fb3374380fb555d1b3ff36831f3572cb6%2Fcgm.png?generation=1606740455230574&alt=media)\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1182060%2F02aef0b81e4ad215fdf809f2c78c4cdb%2Fcmd.png?generation=1606740467241006&alt=media)",
    "1093657": "Just saw LeafGAN, pointed by Heng [here](https://www.kaggle.com/kmat2019/cycle-gan-to-enlarge-training-data/comments), seems like the ideal solution, not sure yet I can find the code implementation.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F113660%2Ff715d0ba9e6f4d686698c988df642b0a%2FSelection_036.png?generation=1606365075088349&alt=media)",
    "1096869": ""
  }
}