{
  "id": 238130,
  "title": "[LB: 0.93+] Starter Notebook with Tensorflow |TPU 🚀",
  "url": "/competitions/seti-breakthrough-listen/discussion/238130",
  "author_name": "Awsaf",
  "post_date": "2021-05-11T10:14:52.232000",
  "votes": 35,
  "comment_count": 3,
  "views": 0,
  "content": "<p><img src=\"https://assets.kpmg/is/image/kpmg/space-satelite-signal-receiving-antenas-at-night-banner:cq5dam.web.1400.350\" alt=\"\"></p>\n<h2>Train &amp; Inference with Tensorflow TPU</h2>\n<p>I've published a notebook using <strong>Tensorflow 2.0</strong> &amp; <strong>TPU</strong>. </p>\n<h3>Notebooks:</h3>\n<ul>\n<li><strong>train [channel]  :</strong> <a href=\"https://www.kaggle.com/awsaf49/seti-bl-tf-starter-tpu\" target=\"_blank\">SETI-BL: TF Starter TPU 🚀</a> <strong>LB:0.93+</strong></li>\n<li><strong>train [spatial] :</strong> <a href=\"https://www.kaggle.com/awsaf49/seti-bl-spatial-info-tf-tpu\" target=\"_blank\">SETI-BL: Spatial Info [TF|TPU] 🚀</a>  <strong>LB:0.95+</strong></li>\n<li><strong>tfrecord dataset:</strong> <a href=\"https://www.kaggle.com/awsaf49/seti-bl-256x256-tfrec-data\" target=\"_blank\">SETI-BL: 256x256 tfrec Data</a></li>\n</ul>\n<h3>Datasets:</h3>\n<ul>\n<li><a href=\"https://www.kaggle.com/awsaf49/setibl-128x128-tfrec-dataset\" target=\"_blank\">128x128</a></li>\n<li><a href=\"https://www.kaggle.com/awsaf49/setibl-256x256-tfrec-dataset\" target=\"_blank\">256x256</a></li>\n<li><a href=\"https://www.kaggle.com/awsaf49/setibl-384x384-tfrec-dataset\" target=\"_blank\">384x384</a></li>\n</ul>\n<p><strong>NOTE:</strong></p>\n<ul>\n<li>Original Signal had <strong>6</strong> channels. I only took <strong>3</strong> as it was mention here,</li>\n</ul>\n<pre><code>Not all of the “needle” signals look like diagonal lines, and they may not be present for the entirety of all three “A” observations, but what they do have in common is that they are only present in some or all of the “A” observations (panels 1, 3, and 5 in the cadence snippets).\n</code></pre>\n<ul>\n<li>Didn't do any <strong>Signal Processing</strong> so far. Left it for the model.</li>\n<li>Used simple augmentations, some of them may hurt the model.</li>\n<li>Resolution was kept <strong>256x256</strong> for the initial training</li>\n<li>model: <strong>EfficientNetB4</strong></li>\n</ul>\n<h2>Result</h2>\n<table>\n<thead>\n<tr>\n<th>Version</th>\n<th>CV</th>\n<th>LB</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>4</td>\n<td>0.930</td>\n<td>0.91</td>\n</tr>\n<tr>\n<td>6</td>\n<td>0.955</td>\n<td>0.93</td>\n</tr>\n<tr>\n<td>8</td>\n<td>0.949</td>\n<td>0.92</td>\n</tr>\n</tbody>\n</table>\n<p>I hope you find this helpful and we may find some aliens at the end of this competition 👽</p>",
  "messages": [
    {
      "id": 1301931,
      "postDate": "2021-05-11T10:14:52.233Z",
      "content": "<p><img src=\"https://assets.kpmg/is/image/kpmg/space-satelite-signal-receiving-antenas-at-night-banner:cq5dam.web.1400.350\" alt=\"\"></p>\n<h2>Train &amp; Inference with Tensorflow TPU</h2>\n<p>I've published a notebook using <strong>Tensorflow 2.0</strong> &amp; <strong>TPU</strong>. </p>\n<h3>Notebooks:</h3>\n<ul>\n<li><strong>train [channel]  :</strong> <a href=\"https://www.kaggle.com/awsaf49/seti-bl-tf-starter-tpu\" target=\"_blank\">SETI-BL: TF Starter TPU 🚀</a> <strong>LB:0.93+</strong></li>\n<li><strong>train [spatial] :</strong> <a href=\"https://www.kaggle.com/awsaf49/seti-bl-spatial-info-tf-tpu\" target=\"_blank\">SETI-BL: Spatial Info [TF|TPU] 🚀</a>  <strong>LB:0.95+</strong></li>\n<li><strong>tfrecord dataset:</strong> <a href=\"https://www.kaggle.com/awsaf49/seti-bl-256x256-tfrec-data\" target=\"_blank\">SETI-BL: 256x256 tfrec Data</a></li>\n</ul>\n<h3>Datasets:</h3>\n<ul>\n<li><a href=\"https://www.kaggle.com/awsaf49/setibl-128x128-tfrec-dataset\" target=\"_blank\">128x128</a></li>\n<li><a href=\"https://www.kaggle.com/awsaf49/setibl-256x256-tfrec-dataset\" target=\"_blank\">256x256</a></li>\n<li><a href=\"https://www.kaggle.com/awsaf49/setibl-384x384-tfrec-dataset\" target=\"_blank\">384x384</a></li>\n</ul>\n<p><strong>NOTE:</strong></p>\n<ul>\n<li>Original Signal had <strong>6</strong> channels. I only took <strong>3</strong> as it was mention here,</li>\n</ul>\n<pre><code>Not all of the “needle” signals look like diagonal lines, and they may not be present for the entirety of all three “A” observations, but what they do have in common is that they are only present in some or all of the “A” observations (panels 1, 3, and 5 in the cadence snippets).\n</code></pre>\n<ul>\n<li>Didn't do any <strong>Signal Processing</strong> so far. Left it for the model.</li>\n<li>Used simple augmentations, some of them may hurt the model.</li>\n<li>Resolution was kept <strong>256x256</strong> for the initial training</li>\n<li>model: <strong>EfficientNetB4</strong></li>\n</ul>\n<h2>Result</h2>\n<table>\n<thead>\n<tr>\n<th>Version</th>\n<th>CV</th>\n<th>LB</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>4</td>\n<td>0.930</td>\n<td>0.91</td>\n</tr>\n<tr>\n<td>6</td>\n<td>0.955</td>\n<td>0.93</td>\n</tr>\n<tr>\n<td>8</td>\n<td>0.949</td>\n<td>0.92</td>\n</tr>\n</tbody>\n</table>\n<p>I hope you find this helpful and we may find some aliens at the end of this competition 👽</p>",
      "rawMarkdown": "![](https://assets.kpmg/is/image/kpmg/space-satelite-signal-receiving-antenas-at-night-banner:cq5dam.web.1400.350)\n## Train & Inference with Tensorflow TPU\nI've published a notebook using **Tensorflow 2.0** & **TPU**. \n\n### Notebooks:\n* **train [channel]  :** [SETI-BL: TF Starter TPU 🚀](https://www.kaggle.com/awsaf49/seti-bl-tf-starter-tpu) **LB:0.93+**\n* **train [spatial] :** [SETI-BL: Spatial Info [TF|TPU] 🚀](https://www.kaggle.com/awsaf49/seti-bl-spatial-info-tf-tpu)  **LB:0.95+**\n* **tfrecord dataset:** [SETI-BL: 256x256 tfrec Data](https://www.kaggle.com/awsaf49/seti-bl-256x256-tfrec-data)\n\n### Datasets:\n* [128x128](https://www.kaggle.com/awsaf49/setibl-128x128-tfrec-dataset)\n* [256x256](https://www.kaggle.com/awsaf49/setibl-256x256-tfrec-dataset)\n* [384x384](https://www.kaggle.com/awsaf49/setibl-384x384-tfrec-dataset)\n\n**NOTE:**\n* Original Signal had **6** channels. I only took **3** as it was mention here,\n```\nNot all of the “needle” signals look like diagonal lines, and they may not be present for the entirety of all three “A” observations, but what they do have in common is that they are only present in some or all of the “A” observations (panels 1, 3, and 5 in the cadence snippets).\n```\n*  Didn't do any **Signal Processing** so far. Left it for the model.\n*  Used simple augmentations, some of them may hurt the model.\n* Resolution was kept **256x256** for the initial training\n* model: **EfficientNetB4**\n\n## Result\n| Version |  CV | LB\n| --- | --- |\n| 4 | 0.930 | 0.91\n| 6 | 0.955 | 0.93\n| 8 | 0.949 | 0.92\n\n\nI hope you find this helpful and we may find some aliens at the end of this competition 👽\n\n",
      "votes": 35
    },
    {
      "id": 1302638,
      "postDate": "2021-05-11T16:33:16.063Z",
      "content": "<p>Wow that was fast!</p>",
      "rawMarkdown": "Wow that was fast!",
      "votes": 1
    },
    {
      "id": 1302579,
      "postDate": "2021-05-11T15:53:32.297Z",
      "content": "<p>Great work <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a> !!! Awesome to see you get .90+ in the first day itself!!</p>\n<p>Kudos to you, … thanks for sharing and hope to see you edge closer to 1.00 👍🖖😄❤️</p>",
      "rawMarkdown": "Great work @awsaf49 !!! Awesome to see you get .90+ in the first day itself!!\n\nKudos to you, ... thanks for sharing and hope to see you edge closer to 1.00 👍🖖😄❤️",
      "votes": 1
    },
    {
      "id": 1302109,
      "postDate": "2021-05-11T11:50:38.400Z",
      "content": "<p>thanks for sharing a good pipeline!</p>",
      "rawMarkdown": "thanks for sharing a good pipeline!",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 1302638,
      "author_name": "xhlulu",
      "author_url": "",
      "post_date": "2021-05-11T16:33:16.063000",
      "content": "<p>Wow that was fast!</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1302579,
      "author_name": "Kamal Das",
      "author_url": "",
      "post_date": "2021-05-11T15:53:32.297000",
      "content": "<p>Great work <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a> !!! Awesome to see you get .90+ in the first day itself!!</p>\n<p>Kudos to you, … thanks for sharing and hope to see you edge closer to 1.00 👍🖖😄❤️</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1302109,
      "author_name": "Manh Lab",
      "author_url": "",
      "post_date": "2021-05-11T11:50:38.400000",
      "content": "<p>thanks for sharing a good pipeline!</p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1301931": "![](https://assets.kpmg/is/image/kpmg/space-satelite-signal-receiving-antenas-at-night-banner:cq5dam.web.1400.350)\n## Train & Inference with Tensorflow TPU\nI've published a notebook using **Tensorflow 2.0** & **TPU**. \n\n### Notebooks:\n* **train [channel]  :** [SETI-BL: TF Starter TPU 🚀](https://www.kaggle.com/awsaf49/seti-bl-tf-starter-tpu) **LB:0.93+**\n* **train [spatial] :** [SETI-BL: Spatial Info [TF|TPU] 🚀](https://www.kaggle.com/awsaf49/seti-bl-spatial-info-tf-tpu)  **LB:0.95+**\n* **tfrecord dataset:** [SETI-BL: 256x256 tfrec Data](https://www.kaggle.com/awsaf49/seti-bl-256x256-tfrec-data)\n\n### Datasets:\n* [128x128](https://www.kaggle.com/awsaf49/setibl-128x128-tfrec-dataset)\n* [256x256](https://www.kaggle.com/awsaf49/setibl-256x256-tfrec-dataset)\n* [384x384](https://www.kaggle.com/awsaf49/setibl-384x384-tfrec-dataset)\n\n**NOTE:**\n* Original Signal had **6** channels. I only took **3** as it was mention here,\n```\nNot all of the “needle” signals look like diagonal lines, and they may not be present for the entirety of all three “A” observations, but what they do have in common is that they are only present in some or all of the “A” observations (panels 1, 3, and 5 in the cadence snippets).\n```\n*  Didn't do any **Signal Processing** so far. Left it for the model.\n*  Used simple augmentations, some of them may hurt the model.\n* Resolution was kept **256x256** for the initial training\n* model: **EfficientNetB4**\n\n## Result\n| Version |  CV | LB\n| --- | --- |\n| 4 | 0.930 | 0.91\n| 6 | 0.955 | 0.93\n| 8 | 0.949 | 0.92\n\n\nI hope you find this helpful and we may find some aliens at the end of this competition 👽\n\n",
    "1302638": "Wow that was fast!",
    "1302579": "Great work @awsaf49 !!! Awesome to see you get .90+ in the first day itself!!\n\nKudos to you, ... thanks for sharing and hope to see you edge closer to 1.00 👍🖖😄❤️",
    "1302109": "thanks for sharing a good pipeline!"
  }
}