{
  "id": 104302,
  "title": "My DCGAN solution LB 30.65",
  "url": "/competitions/generative-dog-images/writeups/alvaro-my-dcgan-solution-lb-30-65",
  "author_name": "",
  "post_date": "2019-08-15T23:44:17.774750Z",
  "votes": 22,
  "comment_count": 8,
  "views": 0,
  "content": "<p>Hi there!</p>\n\n<p>The notebook for my solution is available here : <a href=\"https://www.kaggle.com/alvaroma/dcgan-lb-30-65\">https://www.kaggle.com/alvaroma/dcgan-lb-30-65</a></p>\n\n<p>Keypoints:</p>\n\n<ul>\n<li>Pytorch DCGan</li>\n<li>NZ 64, Batch 32, LRG 0.0004, LRD 0.0008</li>\n<li>Cropped images, selecting only those with ratio 1:50</li>\n<li>Transformations: Flip Horizontal, Random Crop</li>\n<li>Early stop at best FID</li>\n<li>Select best random images</li>\n</ul>\n\n<p>Good luck for all participants!</p>",
  "messages": [
    {
      "id": "600294",
      "postDate": "08/15/2019 23:44:17",
      "content": "<p>Hi there!</p>\n\n<p>The notebook for my solution is available here : <a href=\"https://www.kaggle.com/alvaroma/dcgan-lb-30-65\">https://www.kaggle.com/alvaroma/dcgan-lb-30-65</a></p>\n\n<p>Keypoints:</p>\n\n<ul>\n<li>Pytorch DCGan</li>\n<li>NZ 64, Batch 32, LRG 0.0004, LRD 0.0008</li>\n<li>Cropped images, selecting only those with ratio 1:50</li>\n<li>Transformations: Flip Horizontal, Random Crop</li>\n<li>Early stop at best FID</li>\n<li>Select best random images</li>\n</ul>\n\n<p>Good luck for all participants!</p>",
      "rawMarkdown": "Hi there!\n\nThe notebook for my solution is available here : [https://www.kaggle.com/alvaroma/dcgan-lb-30-65](https://www.kaggle.com/alvaroma/dcgan-lb-30-65)\n\nKeypoints:\n\n- Pytorch DCGan\n- NZ 64, Batch 32, LRG 0.0004, LRD 0.0008\n- Cropped images, selecting only those with ratio 1:50\n- Transformations: Flip Horizontal, Random Crop\n- Early stop at best FID\n- Select best random images\n\nGood luck for all participants!",
      "votes": null
    },
    {
      "id": "600306",
      "postDate": "08/16/2019 00:32:39",
      "content": "<p>Wow, simple and effective. Congratulations. Great job.</p>\n\n<p>(Do you mean to say, select only with ratio less than <code>1 : 1.5</code> or less?)</p>",
      "rawMarkdown": "Wow, simple and effective. Congratulations. Great job.\n\n(Do you mean to say, select only with ratio less than `1 : 1.5` or less?)",
      "votes": null
    },
    {
      "id": "600310",
      "postDate": "08/16/2019 00:52:31",
      "content": "<p>Thanks Chris. The idea was selecting \"squared\" images to better fit in 64x64, so W / H &lt; 1.50 (or H / W if H &gt; W). I tried with different ratios (1:25, 1:50, 1:75) and 1:50 seems to perform better.</p>",
      "rawMarkdown": "Thanks Chris. The idea was selecting \"squared\" images to better fit in 64x64, so W / H &lt; 1.50 (or H / W if H &gt; W). I tried with different ratios (1:25, 1:50, 1:75) and 1:50 seems to perform better.",
      "votes": null
    },
    {
      "id": "600361",
      "postDate": "08/16/2019 02:55:31",
      "content": "<p>That's smart. I think selecting quality training images and using data augmentation (random crops etc) improves LB a lot. I also see that you don't use dogs if the resolution of the bounding box is less than 64x64.</p>",
      "rawMarkdown": "That's smart. I think selecting quality training images and using data augmentation (random crops etc) improves LB a lot. I also see that you don't use dogs if the resolution of the bounding box is less than 64x64.",
      "votes": null
    },
    {
      "id": "600396",
      "postDate": "08/16/2019 03:58:50",
      "content": "<p>Yes, you are right. I forgot to mention that.</p>",
      "rawMarkdown": "Yes, you are right. I forgot to mention that.",
      "votes": null
    },
    {
      "id": "600523",
      "postDate": "08/16/2019 08:27:50",
      "content": "<p>Simple, Nice and clean code. Good luck with stage  II.</p>",
      "rawMarkdown": "Simple, Nice and clean code. Good luck with stage  II.",
      "votes": null
    },
    {
      "id": "600601",
      "postDate": "08/16/2019 10:42:26",
      "content": "<p><a href=\"/alvaroma\">@alvaroma</a> Good work! But as pointed out by <a href=\"/bestfitting\">@bestfitting</a>,  kaggle will use another datasets for private LB, so the MiFID of it might be different if the model was only trained to learn from selective squared dog images?</p>",
      "rawMarkdown": "alvaroma Good work! But as pointed out by @bestfitting,  kaggle will use another datasets for private LB, so the MiFID of it might be different if the model was only trained to learn from selective squared dog images?",
      "votes": null
    },
    {
      "id": "600866",
      "postDate": "08/16/2019 17:05:31",
      "content": "<p>For those that are interesting, here are samples of Alvaro's dogs. They look great!\n<img src=\"http://playagricola.com/Kaggle/dogs681519.png\" alt=\"image\"></p>",
      "rawMarkdown": "For those that are interesting, here are samples of Alvaro's dogs. They look great!\n![image](http://playagricola.com/Kaggle/dogs681519.png)",
      "votes": null
    },
    {
      "id": "601386",
      "postDate": "08/17/2019 14:36:19",
      "content": "<p>This one is very interesting. I wasn't able to get good results with my DCGAN implementation. Good to know that such a high result could be achieved with relatively simple architectures and not only BigGANs.</p>",
      "rawMarkdown": "This one is very interesting. I wasn't able to get good results with my DCGAN implementation. Good to know that such a high result could be achieved with relatively simple architectures and not only BigGANs.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 600306,
      "author_name": "cdeotte",
      "author_url": "",
      "post_date": "08/16/2019 00:32:39",
      "content": "<p>Wow, simple and effective. Congratulations. Great job.</p>\n\n<p>(Do you mean to say, select only with ratio less than <code>1 : 1.5</code> or less?)</p>",
      "votes": null,
      "replies": [
        {
          "id": 600310,
          "author_name": "alvaroma",
          "author_url": "",
          "post_date": "08/16/2019 00:52:31",
          "content": "<p>Thanks Chris. The idea was selecting \"squared\" images to better fit in 64x64, so W / H &lt; 1.50 (or H / W if H &gt; W). I tried with different ratios (1:25, 1:50, 1:75) and 1:50 seems to perform better.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 600361,
          "author_name": "cdeotte",
          "author_url": "",
          "post_date": "08/16/2019 02:55:31",
          "content": "<p>That's smart. I think selecting quality training images and using data augmentation (random crops etc) improves LB a lot. I also see that you don't use dogs if the resolution of the bounding box is less than 64x64.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 600396,
          "author_name": "alvaroma",
          "author_url": "",
          "post_date": "08/16/2019 03:58:50",
          "content": "<p>Yes, you are right. I forgot to mention that.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 600601,
          "author_name": "markpeng",
          "author_url": "",
          "post_date": "08/16/2019 10:42:26",
          "content": "<p><a href=\"/alvaroma\">@alvaroma</a> Good work! But as pointed out by <a href=\"/bestfitting\">@bestfitting</a>,  kaggle will use another datasets for private LB, so the MiFID of it might be different if the model was only trained to learn from selective squared dog images?</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 600523,
      "author_name": "jmourad100",
      "author_url": "",
      "post_date": "08/16/2019 08:27:50",
      "content": "<p>Simple, Nice and clean code. Good luck with stage  II.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 600866,
      "author_name": "cdeotte",
      "author_url": "",
      "post_date": "08/16/2019 17:05:31",
      "content": "<p>For those that are interesting, here are samples of Alvaro's dogs. They look great!\n<img src=\"http://playagricola.com/Kaggle/dogs681519.png\" alt=\"image\"></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 601386,
      "author_name": "purplejester",
      "author_url": "",
      "post_date": "08/17/2019 14:36:19",
      "content": "<p>This one is very interesting. I wasn't able to get good results with my DCGAN implementation. Good to know that such a high result could be achieved with relatively simple architectures and not only BigGANs.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "600294": "Hi there!\n\nThe notebook for my solution is available here : [https://www.kaggle.com/alvaroma/dcgan-lb-30-65](https://www.kaggle.com/alvaroma/dcgan-lb-30-65)\n\nKeypoints:\n\n- Pytorch DCGan\n- NZ 64, Batch 32, LRG 0.0004, LRD 0.0008\n- Cropped images, selecting only those with ratio 1:50\n- Transformations: Flip Horizontal, Random Crop\n- Early stop at best FID\n- Select best random images\n\nGood luck for all participants!",
    "600306": "Wow, simple and effective. Congratulations. Great job.\n\n(Do you mean to say, select only with ratio less than `1 : 1.5` or less?)",
    "600310": "Thanks Chris. The idea was selecting \"squared\" images to better fit in 64x64, so W / H &lt; 1.50 (or H / W if H &gt; W). I tried with different ratios (1:25, 1:50, 1:75) and 1:50 seems to perform better.",
    "600361": "That's smart. I think selecting quality training images and using data augmentation (random crops etc) improves LB a lot. I also see that you don't use dogs if the resolution of the bounding box is less than 64x64.",
    "600396": "Yes, you are right. I forgot to mention that.",
    "600523": "Simple, Nice and clean code. Good luck with stage  II.",
    "600601": "alvaroma Good work! But as pointed out by @bestfitting,  kaggle will use another datasets for private LB, so the MiFID of it might be different if the model was only trained to learn from selective squared dog images?",
    "600866": "For those that are interesting, here are samples of Alvaro's dogs. They look great!\n![image](http://playagricola.com/Kaggle/dogs681519.png)",
    "601386": "This one is very interesting. I wasn't able to get good results with my DCGAN implementation. Good to know that such a high result could be achieved with relatively simple architectures and not only BigGANs."
  },
  "source": "meta"
}