{
  "id": 204884,
  "title": "How to use tta in this competition?",
  "url": "/competitions/cassava-leaf-disease-classification/discussion/204884",
  "author_name": "",
  "post_date": "2020-12-17T09:41:55.143346100Z",
  "votes": 3,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi,how to use tta in this competition,I am not very familiar with tta,anyone can share some tta code for pytorch.Thanks!</p>",
  "messages": [
    {
      "id": "1116581",
      "postDate": "12/17/2020 09:41:55",
      "content": "<p>Hi,how to use tta in this competition,I am not very familiar with tta,anyone can share some tta code for pytorch.Thanks!</p>",
      "rawMarkdown": "Hi,how to use tta in this competition,I am not very familiar with tta,anyone can share some tta code for pytorch.Thanks!",
      "votes": null
    },
    {
      "id": "1116831",
      "postDate": "12/17/2020 13:51:42",
      "content": "<p>For the specific competition, there's several notebooks such as <a href=\"https://www.kaggle.com/khyeh0719/pytorch-efficientnet-baseline-inference-tta\" target=\"_blank\">this one</a>, but I found <a href=\"https://www.kaggle.com/abhishek/leaf-disease-inference-using-tez\" target=\"_blank\">the code here</a> easier to follow (that's the inference notebook with TTA for <a href=\"https://www.kaggle.com/abhishek/tez-faster-and-easier-training-for-leaf-detection/\" target=\"_blank\">this training notebook</a>).</p>\n<p>fastai implements a <a href=\"https://docs.fast.ai/learner.html#Learner.tta\" target=\"_blank\">TTA on-top of its prediction method method</a> and you could also look at <a href=\"https://github.com/fastai/fastai/blob/master/fastai/learner.py#L560\" target=\"_blank\">the code in their GitHub repository</a> since that builds on PyTorch.</p>",
      "rawMarkdown": "For the specific competition, there's several notebooks such as [this one](https://www.kaggle.com/khyeh0719/pytorch-efficientnet-baseline-inference-tta), but I found [the code here](https://www.kaggle.com/abhishek/leaf-disease-inference-using-tez) easier to follow (that's the inference notebook with TTA for [this training notebook](https://www.kaggle.com/abhishek/tez-faster-and-easier-training-for-leaf-detection/)).\n\nfastai implements a [TTA on-top of its prediction method method](https://docs.fast.ai/learner.html#Learner.tta) and you could also look at [the code in their GitHub repository](https://github.com/fastai/fastai/blob/master/fastai/learner.py#L560) since that builds on PyTorch.",
      "votes": null
    },
    {
      "id": "1116972",
      "postDate": "12/17/2020 15:52:23",
      "content": "<p>Thank you very much!</p>",
      "rawMarkdown": "Thank you very much!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1116831,
      "author_name": "bjoernholzhauer",
      "author_url": "",
      "post_date": "12/17/2020 13:51:42",
      "content": "<p>For the specific competition, there's several notebooks such as <a href=\"https://www.kaggle.com/khyeh0719/pytorch-efficientnet-baseline-inference-tta\" target=\"_blank\">this one</a>, but I found <a href=\"https://www.kaggle.com/abhishek/leaf-disease-inference-using-tez\" target=\"_blank\">the code here</a> easier to follow (that's the inference notebook with TTA for <a href=\"https://www.kaggle.com/abhishek/tez-faster-and-easier-training-for-leaf-detection/\" target=\"_blank\">this training notebook</a>).</p>\n<p>fastai implements a <a href=\"https://docs.fast.ai/learner.html#Learner.tta\" target=\"_blank\">TTA on-top of its prediction method method</a> and you could also look at <a href=\"https://github.com/fastai/fastai/blob/master/fastai/learner.py#L560\" target=\"_blank\">the code in their GitHub repository</a> since that builds on PyTorch.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1116972,
          "author_name": "bcwang",
          "author_url": "",
          "post_date": "12/17/2020 15:52:23",
          "content": "<p>Thank you very much!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1116581": "Hi,how to use tta in this competition,I am not very familiar with tta,anyone can share some tta code for pytorch.Thanks!",
    "1116831": "For the specific competition, there's several notebooks such as [this one](https://www.kaggle.com/khyeh0719/pytorch-efficientnet-baseline-inference-tta), but I found [the code here](https://www.kaggle.com/abhishek/leaf-disease-inference-using-tez) easier to follow (that's the inference notebook with TTA for [this training notebook](https://www.kaggle.com/abhishek/tez-faster-and-easier-training-for-leaf-detection/)).\n\nfastai implements a [TTA on-top of its prediction method method](https://docs.fast.ai/learner.html#Learner.tta) and you could also look at [the code in their GitHub repository](https://github.com/fastai/fastai/blob/master/fastai/learner.py#L560) since that builds on PyTorch.",
    "1116972": "Thank you very much!"
  },
  "source": "meta"
}