{
  "id": 190001,
  "title": "Submission file not found ",
  "url": "/competitions/rsna-str-pulmonary-embolism-detection/discussion/190001",
  "author_name": "Nacir Bouazizi",
  "post_date": "2020-10-09T16:33:24.027000",
  "votes": 5,
  "comment_count": 10,
  "views": 0,
  "content": "<p>I know this has been discussed in different threads, but I didn't find any given solution to the problem. </p>\n<p>I am using <a href=\"https://www.kaggle.com/orkatz2/resnext-pulmonary-embolism-inference\" target=\"_blank\">this kernerl</a> for inference. The only thing I changed is the model ( I am using EfficientNet ). <br>\nBut am I getting the \"Submission not found error\" when submitting. </p>\n<p>Is there anyone who have encountered the same problem and fixed it ?</p>\n<p>Thanks in advance.</p>",
  "messages": [
    {
      "id": 1044270,
      "postDate": "2020-10-09T16:33:24.027Z",
      "content": "<p>I know this has been discussed in different threads, but I didn't find any given solution to the problem. </p>\n<p>I am using <a href=\"https://www.kaggle.com/orkatz2/resnext-pulmonary-embolism-inference\" target=\"_blank\">this kernerl</a> for inference. The only thing I changed is the model ( I am using EfficientNet ). <br>\nBut am I getting the \"Submission not found error\" when submitting. </p>\n<p>Is there anyone who have encountered the same problem and fixed it ?</p>\n<p>Thanks in advance.</p>",
      "rawMarkdown": "I know this has been discussed in different threads, but I didn't find any given solution to the problem. \n\nI am using [this kernerl](https://www.kaggle.com/orkatz2/resnext-pulmonary-embolism-inference) for inference. The only thing I changed is the model ( I am using EfficientNet ). \nBut am I getting the \"Submission not found error\" when submitting. \n\nIs there anyone who have encountered the same problem and fixed it ?\n\nThanks in advance.",
      "votes": 4
    },
    {
      "id": 1044984,
      "postDate": "2020-10-10T09:08:03.580Z",
      "content": "<p>Lung dataset returning None which in pytorch it is not supported to have None value in batches change it with empty list and check in prediction time for emptiness and skip that detection.  For submission fill empty detections with zero and submit</p>",
      "rawMarkdown": "Lung dataset returning None which in pytorch it is not supported to have None value in batches change it with empty list and check in prediction time for emptiness and skip that detection.  For submission fill empty detections with zero and submit",
      "votes": 1
    },
    {
      "id": 1044360,
      "postDate": "2020-10-09T17:34:25.257Z",
      "content": "<p>Not sure with PyTorch, but with Keras you need to load EfficientNet and usually that assumes Internet Access. Try to run interactively without Internet Access and see what happens. </p>\n<p>EfficientNet can be loaded from a Dataset, without Internet access.</p>",
      "rawMarkdown": "Not sure with PyTorch, but with Keras you need to load EfficientNet and usually that assumes Internet Access. Try to run interactively without Internet Access and see what happens. \n\nEfficientNet can be loaded from a Dataset, without Internet access.",
      "replies": [
        {
          "id": 1044380,
          "postDate": "2020-10-09T17:52:54.290Z",
          "content": "<p>Yeah that's what I did ! <br>\nI troubleshooted the code and find out it's an OOM problem. I m trying to fix it.</p>",
          "rawMarkdown": "Yeah that's what I did ! \nI troubleshooted the code and find out it's an OOM problem. I m trying to fix it.",
          "votes": 1
        },
        {
          "id": 1044600,
          "postDate": "2020-10-10T00:31:13.633Z",
          "content": "<p>Were you able to figure this out?</p>",
          "rawMarkdown": "Were you able to figure this out?"
        },
        {
          "id": 1045197,
          "postDate": "2020-10-10T12:30:51.613Z",
          "content": "<p>I discovered a huge reference count leak that I fixed by replacing: <code>pred_df.append(mini_df)</code> with <code>pred_df.append(mini_df.values)</code>. However, I still see CPU RAM increasing too much.</p>\n<p>Note: CPU RAM increases a lot on even on ResNeXt inference, which, even though it doesn't fail on a submission run, might fail on the final test set</p>",
          "rawMarkdown": "I discovered a huge reference count leak that I fixed by replacing: `pred_df.append(mini_df)` with `pred_df.append(mini_df.values)`. However, I still see CPU RAM increasing too much.\n\nNote: CPU RAM increases a lot on even on ResNeXt inference, which, even though it doesn't fail on a submission run, might fail on the final test set",
          "votes": 1
        },
        {
          "id": 1047608,
          "postDate": "2020-10-12T18:46:03.903Z",
          "content": "<p><a href=\"https://www.kaggle.com/philipkd\" target=\"_blank\">@philipkd</a>  The problem was with the index = 198 in the dataset, it contains more images than the rest batches, so when fitting it in memory we will have an OOM. I fixed this by creating a subdataloader.</p>",
          "rawMarkdown": "@philipkd  The problem was with the index = 198 in the dataset, it contains more images than the rest batches, so when fitting it in memory we will have an OOM. I fixed this by creating a subdataloader.",
          "votes": 1
        },
        {
          "id": 1048900,
          "postDate": "2020-10-13T23:22:48.743Z",
          "content": "<p>That's an incredible find, thanks!</p>",
          "rawMarkdown": "That's an incredible find, thanks!",
          "votes": 1
        },
        {
          "id": 1059782,
          "postDate": "2020-10-25T12:53:32.023Z",
          "content": "<p>What is subdataloder. How did you fix it. I came across the same issue.. please help <a href=\"https://www.kaggle.com/nacirbouazizi\" target=\"_blank\">@nacirbouazizi</a> </p>",
          "rawMarkdown": "What is subdataloder. How did you fix it. I came across the same issue.. please help @nacirbouazizi ",
          "votes": 1
        },
        {
          "id": 1059934,
          "postDate": "2020-10-25T15:50:41.210Z",
          "content": "<p><a href=\"https://www.kaggle.com/vrpirates\" target=\"_blank\">@vrpirates</a>  You should create a small loader inside your big loader that can take half of the big batch size. </p>",
          "rawMarkdown": "@vrpirates  You should create a small loader inside your big loader that can take half of the big batch size. \n"
        },
        {
          "id": 1059954,
          "postDate": "2020-10-25T16:09:32.373Z",
          "content": "<p>Can you share your code of sub dataloder…it will be helpful.<br>\nThank you</p>",
          "rawMarkdown": "Can you share your code of sub dataloder...it will be helpful.\nThank you"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 1044984,
      "author_name": "Ixtiyoruz",
      "author_url": "",
      "post_date": "2020-10-10T09:08:03.580000",
      "content": "<p>Lung dataset returning None which in pytorch it is not supported to have None value in batches change it with empty list and check in prediction time for emptiness and skip that detection.  For submission fill empty detections with zero and submit</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1044360,
      "author_name": "quadcore/Richard Epstein",
      "author_url": "",
      "post_date": "2020-10-09T17:34:25.257000",
      "content": "<p>Not sure with PyTorch, but with Keras you need to load EfficientNet and usually that assumes Internet Access. Try to run interactively without Internet Access and see what happens. </p>\n<p>EfficientNet can be loaded from a Dataset, without Internet access.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1044380,
          "author_name": "Nacir Bouazizi",
          "author_url": "",
          "post_date": "2020-10-09T17:52:54.290000",
          "content": "<p>Yeah that's what I did ! <br>\nI troubleshooted the code and find out it's an OOM problem. I m trying to fix it.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1044600,
          "author_name": "Philip Dhingra",
          "author_url": "",
          "post_date": "2020-10-10T00:31:13.633000",
          "content": "<p>Were you able to figure this out?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1045197,
          "author_name": "Philip Dhingra",
          "author_url": "",
          "post_date": "2020-10-10T12:30:51.613000",
          "content": "<p>I discovered a huge reference count leak that I fixed by replacing: <code>pred_df.append(mini_df)</code> with <code>pred_df.append(mini_df.values)</code>. However, I still see CPU RAM increasing too much.</p>\n<p>Note: CPU RAM increases a lot on even on ResNeXt inference, which, even though it doesn't fail on a submission run, might fail on the final test set</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1047608,
          "author_name": "Nacir Bouazizi",
          "author_url": "",
          "post_date": "2020-10-12T18:46:03.903000",
          "content": "<p><a href=\"https://www.kaggle.com/philipkd\" target=\"_blank\">@philipkd</a>  The problem was with the index = 198 in the dataset, it contains more images than the rest batches, so when fitting it in memory we will have an OOM. I fixed this by creating a subdataloader.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1048900,
          "author_name": "Philip Dhingra",
          "author_url": "",
          "post_date": "2020-10-13T23:22:48.743000",
          "content": "<p>That's an incredible find, thanks!</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1059782,
          "author_name": "VR PIRATES",
          "author_url": "",
          "post_date": "2020-10-25T12:53:32.023000",
          "content": "<p>What is subdataloder. How did you fix it. I came across the same issue.. please help <a href=\"https://www.kaggle.com/nacirbouazizi\" target=\"_blank\">@nacirbouazizi</a> </p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1059934,
          "author_name": "Nacir Bouazizi",
          "author_url": "",
          "post_date": "2020-10-25T15:50:41.210000",
          "content": "<p><a href=\"https://www.kaggle.com/vrpirates\" target=\"_blank\">@vrpirates</a>  You should create a small loader inside your big loader that can take half of the big batch size. </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 1059954,
          "author_name": "VR PIRATES",
          "author_url": "",
          "post_date": "2020-10-25T16:09:32.373000",
          "content": "<p>Can you share your code of sub dataloder…it will be helpful.<br>\nThank you</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1044270": "I know this has been discussed in different threads, but I didn't find any given solution to the problem. \n\nI am using [this kernerl](https://www.kaggle.com/orkatz2/resnext-pulmonary-embolism-inference) for inference. The only thing I changed is the model ( I am using EfficientNet ). \nBut am I getting the \"Submission not found error\" when submitting. \n\nIs there anyone who have encountered the same problem and fixed it ?\n\nThanks in advance.",
    "1044984": "Lung dataset returning None which in pytorch it is not supported to have None value in batches change it with empty list and check in prediction time for emptiness and skip that detection.  For submission fill empty detections with zero and submit",
    "1044360": "Not sure with PyTorch, but with Keras you need to load EfficientNet and usually that assumes Internet Access. Try to run interactively without Internet Access and see what happens. \n\nEfficientNet can be loaded from a Dataset, without Internet access."
  }
}