{
  "id": 190964,
  "title": "Image Level PE detection CV",
  "url": "/competitions/rsna-str-pulmonary-embolism-detection/discussion/190964",
  "author_name": "arutema47",
  "post_date": "2020-10-14T03:16:12.038000",
  "votes": 24,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Since I don't have much time, I'm dropping out of this competition.<br>\nBefore that I would like to share some stuff I did and would be great if you can share yours as well!</p>\n<p>First, I tried to create a Image Level PE detection network, which is a simple binary classifier.<br>\n(I was thinking of training an another exam-level network for the exam level diagnosis.)</p>\n<p>To start with, tested out with some good-old effnets, but the accuracy is not so good compared to baselines.<br>\nThe CV is around 0.31, even with the best model (haven't submitted to LB).</p>\n<ul>\n<li>Notes<br>\nI used Ian's processed jpg data to save time.<br>\nCan upload my training pipeline if needed (<a href=\"https://github.com/kentaroy47/Kaggle-PANDA-1st-place-solution\" target=\"_blank\">it's based on the previous PANDA competition</a>)<br>\nToggling with augumentations, mixup, cutmix did not help much.<br>\nI also tried oversampling positive data, did not help much.<br>\nTrained for 30 epochs with cos annealing. bs=32, lr=1e-4, adam.</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th></th>\n<th>Accuracy</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Baseline (All zeros)</td>\n<td>94.3</td>\n</tr>\n<tr>\n<td>Baseline2 (OsciArt)</td>\n<td>?(around 97?)</td>\n</tr>\n<tr>\n<td>Effnet-b0</td>\n<td>94.5</td>\n</tr>\n<tr>\n<td>Effnet-b3</td>\n<td>96.7</td>\n</tr>\n<tr>\n<td>Effnet-b5</td>\n<td>97.0</td>\n</tr>\n</tbody>\n</table>\n<h2>Thoughts</h2>\n<p>Should we improve the exam-level accuracy instead..?<br>\nTry b7? (will take couple of days to train..)<br>\nCan we get a better accuracy with higher resolution images? (Ian's is only 256*256)<br>\nShould try TPU with that, given the tfrecords published :)<br>\nUsing z_pos in image-level CNN may be required.</p>",
  "messages": [
    {
      "id": 1049014,
      "postDate": "2020-10-14T03:16:12.040Z",
      "content": "<p>Since I don't have much time, I'm dropping out of this competition.<br>\nBefore that I would like to share some stuff I did and would be great if you can share yours as well!</p>\n<p>First, I tried to create a Image Level PE detection network, which is a simple binary classifier.<br>\n(I was thinking of training an another exam-level network for the exam level diagnosis.)</p>\n<p>To start with, tested out with some good-old effnets, but the accuracy is not so good compared to baselines.<br>\nThe CV is around 0.31, even with the best model (haven't submitted to LB).</p>\n<ul>\n<li>Notes<br>\nI used Ian's processed jpg data to save time.<br>\nCan upload my training pipeline if needed (<a href=\"https://github.com/kentaroy47/Kaggle-PANDA-1st-place-solution\" target=\"_blank\">it's based on the previous PANDA competition</a>)<br>\nToggling with augumentations, mixup, cutmix did not help much.<br>\nI also tried oversampling positive data, did not help much.<br>\nTrained for 30 epochs with cos annealing. bs=32, lr=1e-4, adam.</li>\n</ul>\n<table>\n<thead>\n<tr>\n<th></th>\n<th>Accuracy</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Baseline (All zeros)</td>\n<td>94.3</td>\n</tr>\n<tr>\n<td>Baseline2 (OsciArt)</td>\n<td>?(around 97?)</td>\n</tr>\n<tr>\n<td>Effnet-b0</td>\n<td>94.5</td>\n</tr>\n<tr>\n<td>Effnet-b3</td>\n<td>96.7</td>\n</tr>\n<tr>\n<td>Effnet-b5</td>\n<td>97.0</td>\n</tr>\n</tbody>\n</table>\n<h2>Thoughts</h2>\n<p>Should we improve the exam-level accuracy instead..?<br>\nTry b7? (will take couple of days to train..)<br>\nCan we get a better accuracy with higher resolution images? (Ian's is only 256*256)<br>\nShould try TPU with that, given the tfrecords published :)<br>\nUsing z_pos in image-level CNN may be required.</p>",
      "rawMarkdown": "Since I don't have much time, I'm dropping out of this competition.\nBefore that I would like to share some stuff I did and would be great if you can share yours as well!\n\nFirst, I tried to create a Image Level PE detection network, which is a simple binary classifier.\n(I was thinking of training an another exam-level network for the exam level diagnosis.)\n\nTo start with, tested out with some good-old effnets, but the accuracy is not so good compared to baselines.\nThe CV is around 0.31, even with the best model (haven't submitted to LB).\n\n* Notes\nI used Ian's processed jpg data to save time.\nCan upload my training pipeline if needed ([it's based on the previous PANDA competition](https://github.com/kentaroy47/Kaggle-PANDA-1st-place-solution))\nToggling with augumentations, mixup, cutmix did not help much.\nI also tried oversampling positive data, did not help much.\nTrained for 30 epochs with cos annealing. bs=32, lr=1e-4, adam.\n\n|                      | Accuracy |\n|:--------------------:|:--------:|\n| Baseline (All zeros) |   94.3   |\n|  Baseline2 (OsciArt) |   ?(around 97?)       |\n|       Effnet-b0      |   94.5   |\n|       Effnet-b3      |   96.7   |\n|       Effnet-b5      |   97.0   |\n\n## Thoughts\nShould we improve the exam-level accuracy instead..?\nTry b7? (will take couple of days to train..)\nCan we get a better accuracy with higher resolution images? (Ian's is only 256*256)\nShould try TPU with that, given the tfrecords published :)\nUsing z_pos in image-level CNN may be required.",
      "votes": 24
    },
    {
      "id": 1057511,
      "postDate": "2020-10-22T18:00:42.660Z",
      "content": "<p>Since the dataset is <em>really</em> imbalanced, acc doesn't mean much, do you have a recall or f1 score?.  Have you tried training on just the patients with a positive exam for pe?</p>\n<p>On another note, this post getting zero comments is seriously one of the saddest things I ever witnessed. Don't get me wrong, you have all the right to stay silent and keep your solution to your selves. but I mean come on people.</p>",
      "rawMarkdown": "Since the dataset is *really* imbalanced, acc doesn't mean much, do you have a recall or f1 score?.  Have you tried training on just the patients with a positive exam for pe?\n\nOn another note, this post getting zero comments is seriously one of the saddest things I ever witnessed. Don't get me wrong, you have all the right to stay silent and keep your solution to your selves. but I mean come on people."
    }
  ],
  "comments": [
    {
      "id": 1057511,
      "author_name": "DarkCube",
      "author_url": "",
      "post_date": "2020-10-22T18:00:42.660000",
      "content": "<p>Since the dataset is <em>really</em> imbalanced, acc doesn't mean much, do you have a recall or f1 score?.  Have you tried training on just the patients with a positive exam for pe?</p>\n<p>On another note, this post getting zero comments is seriously one of the saddest things I ever witnessed. Don't get me wrong, you have all the right to stay silent and keep your solution to your selves. but I mean come on people.</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1049014": "Since I don't have much time, I'm dropping out of this competition.\nBefore that I would like to share some stuff I did and would be great if you can share yours as well!\n\nFirst, I tried to create a Image Level PE detection network, which is a simple binary classifier.\n(I was thinking of training an another exam-level network for the exam level diagnosis.)\n\nTo start with, tested out with some good-old effnets, but the accuracy is not so good compared to baselines.\nThe CV is around 0.31, even with the best model (haven't submitted to LB).\n\n* Notes\nI used Ian's processed jpg data to save time.\nCan upload my training pipeline if needed ([it's based on the previous PANDA competition](https://github.com/kentaroy47/Kaggle-PANDA-1st-place-solution))\nToggling with augumentations, mixup, cutmix did not help much.\nI also tried oversampling positive data, did not help much.\nTrained for 30 epochs with cos annealing. bs=32, lr=1e-4, adam.\n\n|                      | Accuracy |\n|:--------------------:|:--------:|\n| Baseline (All zeros) |   94.3   |\n|  Baseline2 (OsciArt) |   ?(around 97?)       |\n|       Effnet-b0      |   94.5   |\n|       Effnet-b3      |   96.7   |\n|       Effnet-b5      |   97.0   |\n\n## Thoughts\nShould we improve the exam-level accuracy instead..?\nTry b7? (will take couple of days to train..)\nCan we get a better accuracy with higher resolution images? (Ian's is only 256*256)\nShould try TPU with that, given the tfrecords published :)\nUsing z_pos in image-level CNN may be required.",
    "1057511": "Since the dataset is *really* imbalanced, acc doesn't mean much, do you have a recall or f1 score?.  Have you tried training on just the patients with a positive exam for pe?\n\nOn another note, this post getting zero comments is seriously one of the saddest things I ever witnessed. Don't get me wrong, you have all the right to stay silent and keep your solution to your selves. but I mean come on people."
  }
}