{
  "id": 98883,
  "title": "Augmentation Techniques: Let's discuss",
  "url": "/competitions/aptos2019-blindness-detection/discussion/98883",
  "author_name": "",
  "post_date": "2019-07-07T09:16:10.261279500Z",
  "votes": 8,
  "comment_count": 12,
  "views": 0,
  "content": "<p>For starters I am using these augmentations\n<code>\ntfms = get_transforms(do_flip=True, flip_vert=True, max_rotate=360, max_warp=0, max_zoom=1.1, max_lighting=0.1, p_lighting=0.5,\nxtra_tfms=[(symmetric_warp(magnitude=(-0,0), p=0.5)), rand_crop(p=0.75)] )\n</code>\nI am getting a decent score for every model around 0.72-0.73 but wanted to know what all augmentations can be explored.\nWhat other augmentations worked for others?</p>",
  "messages": [
    {
      "id": "569761",
      "postDate": "07/07/2019 09:16:10",
      "content": "<p>For starters I am using these augmentations\n<code>\ntfms = get_transforms(do_flip=True, flip_vert=True, max_rotate=360, max_warp=0, max_zoom=1.1, max_lighting=0.1, p_lighting=0.5,\nxtra_tfms=[(symmetric_warp(magnitude=(-0,0), p=0.5)), rand_crop(p=0.75)] )\n</code>\nI am getting a decent score for every model around 0.72-0.73 but wanted to know what all augmentations can be explored.\nWhat other augmentations worked for others?</p>",
      "rawMarkdown": "For starters I am using these augmentations\n```\ntfms = get_transforms(do_flip=True, flip_vert=True, max_rotate=360, max_warp=0, max_zoom=1.1, max_lighting=0.1, p_lighting=0.5,\nxtra_tfms=[(symmetric_warp(magnitude=(-0,0), p=0.5)), rand_crop(p=0.75)] )\n```\nI am getting a decent score for every model around 0.72-0.73 but wanted to know what all augmentations can be explored.\nWhat other augmentations worked for others?",
      "votes": null
    },
    {
      "id": "569824",
      "postDate": "07/07/2019 12:10:18",
      "content": "<p><a href=\"/axel81\">@axel81</a> What's the point of using warp transforms here? Are they really proving to be useful? Because, they seem to particularly useful with Imagenet etc where we can look at the same image from different angles but that doesn't seem to be the case with retina images.  Not exactly a transform, but I have a hunch that a good normalization could improve the score!</p>",
      "rawMarkdown": "axel81 What's the point of using warp transforms here? Are they really proving to be useful? Because, they seem to particularly useful with Imagenet etc where we can look at the same image from different angles but that doesn't seem to be the case with retina images.  Not exactly a transform, but I have a hunch that a good normalization could improve the score!",
      "votes": null
    },
    {
      "id": "569950",
      "postDate": "07/07/2019 15:40:28",
      "content": "<p>Yes you are right <code>symmetric_warp</code> was not useful, it didn't help me improve anything.</p>",
      "rawMarkdown": "Yes you are right `symmetric_warp` was not useful, it didn't help me improve anything.",
      "votes": null
    },
    {
      "id": "570069",
      "postDate": "07/07/2019 18:19:17",
      "content": "<p>What was your cv score?</p>",
      "rawMarkdown": "What was your cv score?",
      "votes": null
    },
    {
      "id": "570106",
      "postDate": "07/07/2019 19:22:57",
      "content": "<p>hi <a href=\"/axel81\">@axel81</a>  maybe it is time to use fast image augmentation library and easy to use wrapper around other libraries called <a href=\"https://github.com/albu/albumentations\">albumentations</a></p>",
      "rawMarkdown": "hi @axel81  maybe it is time to use fast image augmentation library and easy to use wrapper around other libraries called [albumentations](https://github.com/albu/albumentations)",
      "votes": null
    },
    {
      "id": "570267",
      "postDate": "07/08/2019 04:23:17",
      "content": "<p><a href=\"/rinnqd\">@rinnqd</a> My quadratic_kappa is around 0.891-0.911</p>",
      "rawMarkdown": "rinnqd My quadratic_kappa is around 0.891-0.911",
      "votes": null
    },
    {
      "id": "570269",
      "postDate": "07/08/2019 04:23:55",
      "content": "<p>Do you have any results from that? and what all augmentation would be good to use?</p>",
      "rawMarkdown": "Do you have any results from that? and what all augmentation would be good to use?",
      "votes": null
    },
    {
      "id": "570938",
      "postDate": "07/09/2019 00:30:11",
      "content": "<p>Hi! <a href=\"/axel81\">@axel81</a>, have anyone tried to use some kind of auto-selection of best augmentation techniques, like running a loop that turns them on and off</p>",
      "rawMarkdown": "Hi! @axel81, have anyone tried to use some kind of auto-selection of best augmentation techniques, like running a loop that turns them on and off",
      "votes": null
    },
    {
      "id": "570941",
      "postDate": "07/09/2019 00:37:07",
      "content": "<p>I am using it on pneumothorax competition,i will have to learn more about it and will let you know then,thanks</p>",
      "rawMarkdown": "I am using it on pneumothorax competition,i will have to learn more about it and will let you know then,thanks",
      "votes": null
    },
    {
      "id": "570967",
      "postDate": "07/09/2019 01:54:48",
      "content": "<p>Wow, so complicated, I can't comprehend it.</p>",
      "rawMarkdown": "Wow, so complicated, I can't comprehend it.",
      "votes": null
    },
    {
      "id": "571382",
      "postDate": "07/09/2019 14:46:07",
      "content": "<p>I haven't</p>",
      "rawMarkdown": "I haven't",
      "votes": null
    },
    {
      "id": "572200",
      "postDate": "07/10/2019 15:55:49",
      "content": "<p>We  use  almost   the    same,  but  I  think  the    unbalanced   number   in    different   target    type    should  be improved.</p>",
      "rawMarkdown": "We  use  almost   the    same,  but  I  think  the    unbalanced   number   in    different   target    type    should  be improved.",
      "votes": null
    },
    {
      "id": "573383",
      "postDate": "07/12/2019 07:38:19",
      "content": "<p>I illustrate 6 sensible data augmentation with visualization by Grad CAM<a href=\"https://www.kaggle.com/ratthachat/aptos-updated-albumentation-meets-grad-cam/\"> <strong>here in this kernel</strong></a>. Hope it is helpful.</p>\n\n<p><img src=\"https://i.ibb.co/H4MJWVz/gradcam-album.png\" alt=\"Albumentation meets Grad-CAM\"></p>",
      "rawMarkdown": "I illustrate 6 sensible data augmentation with visualization by Grad CAM[ **here in this kernel**](https://www.kaggle.com/ratthachat/aptos-updated-albumentation-meets-grad-cam/). Hope it is helpful.\n\n![Albumentation meets Grad-CAM](https://i.ibb.co/H4MJWVz/gradcam-album.png)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 569824,
      "author_name": "pranavmahajan725",
      "author_url": "",
      "post_date": "07/07/2019 12:10:18",
      "content": "<p><a href=\"/axel81\">@axel81</a> What's the point of using warp transforms here? Are they really proving to be useful? Because, they seem to particularly useful with Imagenet etc where we can look at the same image from different angles but that doesn't seem to be the case with retina images.  Not exactly a transform, but I have a hunch that a good normalization could improve the score!</p>",
      "votes": null,
      "replies": [
        {
          "id": 569950,
          "author_name": "axel81",
          "author_url": "",
          "post_date": "07/07/2019 15:40:28",
          "content": "<p>Yes you are right <code>symmetric_warp</code> was not useful, it didn't help me improve anything.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 570069,
      "author_name": "rinnqd",
      "author_url": "",
      "post_date": "07/07/2019 18:19:17",
      "content": "<p>What was your cv score?</p>",
      "votes": null,
      "replies": [
        {
          "id": 570267,
          "author_name": "axel81",
          "author_url": "",
          "post_date": "07/08/2019 04:23:17",
          "content": "<p><a href=\"/rinnqd\">@rinnqd</a> My quadratic_kappa is around 0.891-0.911</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 570106,
      "author_name": "mobassir",
      "author_url": "",
      "post_date": "07/07/2019 19:22:57",
      "content": "<p>hi <a href=\"/axel81\">@axel81</a>  maybe it is time to use fast image augmentation library and easy to use wrapper around other libraries called <a href=\"https://github.com/albu/albumentations\">albumentations</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 570269,
          "author_name": "axel81",
          "author_url": "",
          "post_date": "07/08/2019 04:23:55",
          "content": "<p>Do you have any results from that? and what all augmentation would be good to use?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 570941,
          "author_name": "mobassir",
          "author_url": "",
          "post_date": "07/09/2019 00:37:07",
          "content": "<p>I am using it on pneumothorax competition,i will have to learn more about it and will let you know then,thanks</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 570938,
      "author_name": "cv13j0",
      "author_url": "",
      "post_date": "07/09/2019 00:30:11",
      "content": "<p>Hi! <a href=\"/axel81\">@axel81</a>, have anyone tried to use some kind of auto-selection of best augmentation techniques, like running a loop that turns them on and off</p>",
      "votes": null,
      "replies": [
        {
          "id": 571382,
          "author_name": "axel81",
          "author_url": "",
          "post_date": "07/09/2019 14:46:07",
          "content": "<p>I haven't</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 570967,
      "author_name": "kidsclothing",
      "author_url": "",
      "post_date": "07/09/2019 01:54:48",
      "content": "<p>Wow, so complicated, I can't comprehend it.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 572200,
      "author_name": "xujingzhao",
      "author_url": "",
      "post_date": "07/10/2019 15:55:49",
      "content": "<p>We  use  almost   the    same,  but  I  think  the    unbalanced   number   in    different   target    type    should  be improved.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 573383,
      "author_name": "ratthachat",
      "author_url": "",
      "post_date": "07/12/2019 07:38:19",
      "content": "<p>I illustrate 6 sensible data augmentation with visualization by Grad CAM<a href=\"https://www.kaggle.com/ratthachat/aptos-updated-albumentation-meets-grad-cam/\"> <strong>here in this kernel</strong></a>. Hope it is helpful.</p>\n\n<p><img src=\"https://i.ibb.co/H4MJWVz/gradcam-album.png\" alt=\"Albumentation meets Grad-CAM\"></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "569761": "For starters I am using these augmentations\n```\ntfms = get_transforms(do_flip=True, flip_vert=True, max_rotate=360, max_warp=0, max_zoom=1.1, max_lighting=0.1, p_lighting=0.5,\nxtra_tfms=[(symmetric_warp(magnitude=(-0,0), p=0.5)), rand_crop(p=0.75)] )\n```\nI am getting a decent score for every model around 0.72-0.73 but wanted to know what all augmentations can be explored.\nWhat other augmentations worked for others?",
    "569824": "axel81 What's the point of using warp transforms here? Are they really proving to be useful? Because, they seem to particularly useful with Imagenet etc where we can look at the same image from different angles but that doesn't seem to be the case with retina images.  Not exactly a transform, but I have a hunch that a good normalization could improve the score!",
    "569950": "Yes you are right `symmetric_warp` was not useful, it didn't help me improve anything.",
    "570069": "What was your cv score?",
    "570106": "hi @axel81  maybe it is time to use fast image augmentation library and easy to use wrapper around other libraries called [albumentations](https://github.com/albu/albumentations)",
    "570267": "rinnqd My quadratic_kappa is around 0.891-0.911",
    "570269": "Do you have any results from that? and what all augmentation would be good to use?",
    "570938": "Hi! @axel81, have anyone tried to use some kind of auto-selection of best augmentation techniques, like running a loop that turns them on and off",
    "570941": "I am using it on pneumothorax competition,i will have to learn more about it and will let you know then,thanks",
    "570967": "Wow, so complicated, I can't comprehend it.",
    "571382": "I haven't",
    "572200": "We  use  almost   the    same,  but  I  think  the    unbalanced   number   in    different   target    type    should  be improved.",
    "573383": "I illustrate 6 sensible data augmentation with visualization by Grad CAM[ **here in this kernel**](https://www.kaggle.com/ratthachat/aptos-updated-albumentation-meets-grad-cam/). Hope it is helpful.\n\n![Albumentation meets Grad-CAM](https://i.ibb.co/H4MJWVz/gradcam-album.png)"
  },
  "source": "meta"
}