{
  "id": 219414,
  "title": "Introducing new SOTA model NFNets faster than EfficientNets (Normalizer-free[no BatchNorm!])",
  "url": "/competitions/ranzcr-clip-catheter-line-classification/discussion/219414",
  "author_name": "Miloud Belarebia",
  "post_date": "2021-02-14T20:18:27.079000",
  "votes": 13,
  "comment_count": 9,
  "views": 0,
  "content": "<p>Hello,</p>\n<p>Deepmind releases a new State-Of-The-Art Image Classification model — NFNets. NFNets are:</p>\n<ul>\n<li>SOTA on ImageNet (86.5% top-1 w/o extra data)</li>\n<li>Up to 8.7x faster to train than EfficientNets to a given accuracy</li>\n<li>Normalizer-free (no BatchNorm!)</li>\n</ul>\n<p>For </p>\n<ul>\n<li><a href=\"http://dpmd.ai/06171\" target=\"_blank\">Paper</a></li>\n<li><a href=\"http://dpmd.ai/nfnets\" target=\"_blank\">Code</a></li>\n</ul>\n<p>And for more detail how to apply in <strong>Pytorch</strong>I recommend this <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/218907\" target=\"_blank\">discussion</a></p>",
  "messages": [
    {
      "id": 1200645,
      "postDate": "2021-02-14T20:18:27.080Z",
      "content": "<p>Hello,</p>\n<p>Deepmind releases a new State-Of-The-Art Image Classification model — NFNets. NFNets are:</p>\n<ul>\n<li>SOTA on ImageNet (86.5% top-1 w/o extra data)</li>\n<li>Up to 8.7x faster to train than EfficientNets to a given accuracy</li>\n<li>Normalizer-free (no BatchNorm!)</li>\n</ul>\n<p>For </p>\n<ul>\n<li><a href=\"http://dpmd.ai/06171\" target=\"_blank\">Paper</a></li>\n<li><a href=\"http://dpmd.ai/nfnets\" target=\"_blank\">Code</a></li>\n</ul>\n<p>And for more detail how to apply in <strong>Pytorch</strong>I recommend this <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/218907\" target=\"_blank\">discussion</a></p>",
      "rawMarkdown": "Hello,\n\nDeepmind releases a new State-Of-The-Art Image Classification model — NFNets. NFNets are:\n- SOTA on ImageNet (86.5% top-1 w/o extra data)\n- Up to 8.7x faster to train than EfficientNets to a given accuracy\n- Normalizer-free (no BatchNorm!)\n\nFor \n- [Paper](http://dpmd.ai/06171)\n- [Code](http://dpmd.ai/nfnets)\n\nAnd for more detail how to apply in **Pytorch**I recommend this [discussion](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/218907)",
      "votes": 13
    },
    {
      "id": 1201277,
      "postDate": "2021-02-15T09:16:35.703Z",
      "content": "<p>Although you can find NFNets in <code>timm</code>, the trick in this paper is the Adaptive Gradient Clipping. AFAIK, the example code for AGC hasn't been released yet</p>\n<p>Edit: maybe it's there now :) <a href=\"https://github.com/deepmind/deepmind-research/blob/68a1754d293e04d278dfb649b2d59512f32351a7/nfnets/optim.py#L476-L491\" target=\"_blank\">https://github.com/deepmind/deepmind-research/blob/68a1754d293e04d278dfb649b2d59512f32351a7/nfnets/optim.py#L476-L491</a> </p>",
      "rawMarkdown": "Although you can find NFNets in `timm`, the trick in this paper is the Adaptive Gradient Clipping. AFAIK, the example code for AGC hasn't been released yet\n\nEdit: maybe it's there now :) https://github.com/deepmind/deepmind-research/blob/68a1754d293e04d278dfb649b2d59512f32351a7/nfnets/optim.py#L476-L491 ",
      "votes": 3,
      "replies": [
        {
          "id": 1204518,
          "postDate": "2021-02-16T07:13:56.097Z",
          "content": "<p>This is why my model wasn't performing good on NFNet-F1.<br>\nThanks for clarifying!</p>",
          "rawMarkdown": "This is why my model wasn't performing good on NFNet-F1.\nThanks for clarifying!",
          "votes": 1
        }
      ]
    },
    {
      "id": 1202076,
      "postDate": "2021-02-15T20:28:36.200Z",
      "content": "<p>One of the things I have been wondering for a while is lots of recent papers have shown that the performance on ImageNet doesn't necessarily convert to additional score on transfer tasks. There is some claim to better transfer in these models, but will take a bit of time to see exactly how it works.</p>\n<p>These are also completely massive models. Much bigger than effnet and resnet models. </p>",
      "rawMarkdown": "One of the things I have been wondering for a while is lots of recent papers have shown that the performance on ImageNet doesn't necessarily convert to additional score on transfer tasks. There is some claim to better transfer in these models, but will take a bit of time to see exactly how it works.\n\nThese are also completely massive models. Much bigger than effnet and resnet models. ",
      "votes": 2,
      "replies": [
        {
          "id": 1204144,
          "postDate": "2021-02-15T22:04:35.190Z",
          "content": "<p>Thanks for your feedback, and I totally agree with you. <br>\nHere is a discussion to apply on Pytorch <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/219371\" target=\"_blank\">NFNet-F* models released in pytorch-image-models\n</a> </p>",
          "rawMarkdown": "Thanks for your feedback, and I totally agree with you. \nHere is a discussion to apply on Pytorch [NFNet-F* models released in pytorch-image-models\n](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/219371) "
        }
      ]
    },
    {
      "id": 1201061,
      "postDate": "2021-02-15T06:27:19.437Z",
      "content": "<p>That feeling when you are a Keras user and EfficientNets have been added not so long ago…</p>",
      "rawMarkdown": "That feeling when you are a Keras user and EfficientNets have been added not so long ago...",
      "votes": 2,
      "replies": [
        {
          "id": 1204147,
          "postDate": "2021-02-15T22:06:18.307Z",
          "content": "<p>It's Deepmind 😑😑</p>",
          "rawMarkdown": "It's Deepmind 😑😑",
          "votes": 1
        }
      ]
    },
    {
      "id": 1209962,
      "postDate": "2021-02-19T06:06:26.567Z",
      "content": "<h1>Paper_Summary</h1>\n<p>It's a very interesting paper. Talks a lot about Batch normalization.<br>\n<a href=\"https://www.linkedin.com/posts/amritpal-singh-001_paperabrsummary-computervision-google-activity-6767776421348741120-SFos/\" target=\"_blank\">https://www.linkedin.com/posts/amritpal-singh-001_paperabrsummary-computervision-google-activity-6767776421348741120-SFos/</a><br>\nWould love to hear your opinions.</p>",
      "rawMarkdown": "#Paper_Summary\nIt's a very interesting paper. Talks a lot about Batch normalization.\nhttps://www.linkedin.com/posts/amritpal-singh-001_paperabrsummary-computervision-google-activity-6767776421348741120-SFos/\nWould love to hear your opinions."
    },
    {
      "id": 1204514,
      "postDate": "2021-02-16T07:12:30.867Z",
      "content": "<p>Thanks for the post! A lot of people are still very less familiar with this new development.</p>\n<p>By the way, I have made a Notebook in this competition training NFNet-F1, it can be helpful to get started!<br>\nHere's the <a href=\"https://www.kaggle.com/heyytanay/torch-trainer-augmentations-nfnets\" target=\"_blank\">Link</a>. </p>",
      "rawMarkdown": "Thanks for the post! A lot of people are still very less familiar with this new development.\n\nBy the way, I have made a Notebook in this competition training NFNet-F1, it can be helpful to get started!\nHere's the [Link](https://www.kaggle.com/heyytanay/torch-trainer-augmentations-nfnets). "
    },
    {
      "id": 1209959,
      "postDate": "2021-02-19T06:04:20.717Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1201277,
      "author_name": "datasaurus",
      "author_url": "",
      "post_date": "2021-02-15T09:16:35.703000",
      "content": "<p>Although you can find NFNets in <code>timm</code>, the trick in this paper is the Adaptive Gradient Clipping. AFAIK, the example code for AGC hasn't been released yet</p>\n<p>Edit: maybe it's there now :) <a href=\"https://github.com/deepmind/deepmind-research/blob/68a1754d293e04d278dfb649b2d59512f32351a7/nfnets/optim.py#L476-L491\" target=\"_blank\">https://github.com/deepmind/deepmind-research/blob/68a1754d293e04d278dfb649b2d59512f32351a7/nfnets/optim.py#L476-L491</a> </p>",
      "votes": 3,
      "replies": [
        {
          "id": 1204518,
          "author_name": "Tanay Mehta",
          "author_url": "",
          "post_date": "2021-02-16T07:13:56.097000",
          "content": "<p>This is why my model wasn't performing good on NFNet-F1.<br>\nThanks for clarifying!</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1202076,
      "author_name": "ryches",
      "author_url": "",
      "post_date": "2021-02-15T20:28:36.200000",
      "content": "<p>One of the things I have been wondering for a while is lots of recent papers have shown that the performance on ImageNet doesn't necessarily convert to additional score on transfer tasks. There is some claim to better transfer in these models, but will take a bit of time to see exactly how it works.</p>\n<p>These are also completely massive models. Much bigger than effnet and resnet models. </p>",
      "votes": 2,
      "replies": [
        {
          "id": 1204144,
          "author_name": "Miloud Belarebia",
          "author_url": "",
          "post_date": "2021-02-15T22:04:35.190000",
          "content": "<p>Thanks for your feedback, and I totally agree with you. <br>\nHere is a discussion to apply on Pytorch <a href=\"https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/219371\" target=\"_blank\">NFNet-F* models released in pytorch-image-models\n</a> </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1201061,
      "author_name": "Nikita Kuzmenkov",
      "author_url": "",
      "post_date": "2021-02-15T06:27:19.437000",
      "content": "<p>That feeling when you are a Keras user and EfficientNets have been added not so long ago…</p>",
      "votes": 2,
      "replies": [
        {
          "id": 1204147,
          "author_name": "Miloud Belarebia",
          "author_url": "",
          "post_date": "2021-02-15T22:06:18.307000",
          "content": "<p>It's Deepmind 😑😑</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1209962,
      "author_name": "Dr. Amritpal Singh",
      "author_url": "",
      "post_date": "2021-02-19T06:06:26.567000",
      "content": "<h1>Paper_Summary</h1>\n<p>It's a very interesting paper. Talks a lot about Batch normalization.<br>\n<a href=\"https://www.linkedin.com/posts/amritpal-singh-001_paperabrsummary-computervision-google-activity-6767776421348741120-SFos/\" target=\"_blank\">https://www.linkedin.com/posts/amritpal-singh-001_paperabrsummary-computervision-google-activity-6767776421348741120-SFos/</a><br>\nWould love to hear your opinions.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1204514,
      "author_name": "Tanay Mehta",
      "author_url": "",
      "post_date": "2021-02-16T07:12:30.867000",
      "content": "<p>Thanks for the post! A lot of people are still very less familiar with this new development.</p>\n<p>By the way, I have made a Notebook in this competition training NFNet-F1, it can be helpful to get started!<br>\nHere's the <a href=\"https://www.kaggle.com/heyytanay/torch-trainer-augmentations-nfnets\" target=\"_blank\">Link</a>. </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1209959,
      "author_name": "",
      "author_url": "",
      "post_date": "2021-02-19T06:04:20.717000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1200645": "Hello,\n\nDeepmind releases a new State-Of-The-Art Image Classification model — NFNets. NFNets are:\n- SOTA on ImageNet (86.5% top-1 w/o extra data)\n- Up to 8.7x faster to train than EfficientNets to a given accuracy\n- Normalizer-free (no BatchNorm!)\n\nFor \n- [Paper](http://dpmd.ai/06171)\n- [Code](http://dpmd.ai/nfnets)\n\nAnd for more detail how to apply in **Pytorch**I recommend this [discussion](https://www.kaggle.com/c/cassava-leaf-disease-classification/discussion/218907)",
    "1201277": "Although you can find NFNets in `timm`, the trick in this paper is the Adaptive Gradient Clipping. AFAIK, the example code for AGC hasn't been released yet\n\nEdit: maybe it's there now :) https://github.com/deepmind/deepmind-research/blob/68a1754d293e04d278dfb649b2d59512f32351a7/nfnets/optim.py#L476-L491 ",
    "1202076": "One of the things I have been wondering for a while is lots of recent papers have shown that the performance on ImageNet doesn't necessarily convert to additional score on transfer tasks. There is some claim to better transfer in these models, but will take a bit of time to see exactly how it works.\n\nThese are also completely massive models. Much bigger than effnet and resnet models. ",
    "1201061": "That feeling when you are a Keras user and EfficientNets have been added not so long ago...",
    "1209962": "#Paper_Summary\nIt's a very interesting paper. Talks a lot about Batch normalization.\nhttps://www.linkedin.com/posts/amritpal-singh-001_paperabrsummary-computervision-google-activity-6767776421348741120-SFos/\nWould love to hear your opinions.",
    "1204514": "Thanks for the post! A lot of people are still very less familiar with this new development.\n\nBy the way, I have made a Notebook in this competition training NFNet-F1, it can be helpful to get started!\nHere's the [Link](https://www.kaggle.com/heyytanay/torch-trainer-augmentations-nfnets). ",
    "1209959": ""
  }
}