{
  "id": 339962,
  "title": "Notebook Threw Exception",
  "url": "/competitions/mayo-clinic-strip-ai/discussion/339962",
  "author_name": "Rishab",
  "post_date": "2022-07-26T22:59:13.965000",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Im trying to figure out whats causing the above error. I submitted my code upto the dataloading part, and got a 'submission csv not found error' (which means the data is loaded correcctly')</p>\n<p>Beyond that I do:</p>\n<p>device = 'cuda' if torch.cuda.is_available() else 'cpu'<br>\nmodel= load model and weights</p>\n<p>test_dataset = dataset<br>\ntest_dataloader = DataLoader(test_dataset, batch_size=1, shuffle=False)</p>\n<p>out = model(images)</p>\n<p>And then go on to concatenate and write the data. Can anyone tell me where Im possibly going wrong? Does our submission not have access to GPU, and so my model cant load the weights?</p>\n<p>Thanks</p>",
  "messages": [
    {
      "id": 1872402,
      "postDate": "2022-07-26T22:59:13.967Z",
      "content": "<p>Im trying to figure out whats causing the above error. I submitted my code upto the dataloading part, and got a 'submission csv not found error' (which means the data is loaded correcctly')</p>\n<p>Beyond that I do:</p>\n<p>device = 'cuda' if torch.cuda.is_available() else 'cpu'<br>\nmodel= load model and weights</p>\n<p>test_dataset = dataset<br>\ntest_dataloader = DataLoader(test_dataset, batch_size=1, shuffle=False)</p>\n<p>out = model(images)</p>\n<p>And then go on to concatenate and write the data. Can anyone tell me where Im possibly going wrong? Does our submission not have access to GPU, and so my model cant load the weights?</p>\n<p>Thanks</p>",
      "rawMarkdown": "Im trying to figure out whats causing the above error. I submitted my code upto the dataloading part, and got a 'submission csv not found error' (which means the data is loaded correcctly')\n\nBeyond that I do:\n\ndevice = 'cuda' if torch.cuda.is_available() else 'cpu'\nmodel= load model and weights\n\ntest_dataset = dataset\ntest_dataloader = DataLoader(test_dataset, batch_size=1, shuffle=False)\n\nout = model(images)\n\nAnd then go on to concatenate and write the data. Can anyone tell me where Im possibly going wrong? Does our submission not have access to GPU, and so my model cant load the weights?\n\nThanks",
      "votes": 1
    },
    {
      "id": 1919916,
      "postDate": "2022-08-30T18:28:21.353Z",
      "content": "<p>I think submission csv not found is the final scoring process error. That's most likely the issue with reading 'submission.csv' which is written with a different name, or was not written due to some error. It has little to do with GPU usage, as <a href=\"https://www.kaggle.com/code-competition-debugging\" target=\"_blank\">this</a> explains.</p>",
      "rawMarkdown": "I think submission csv not found is the final scoring process error. That's most likely the issue with reading 'submission.csv' which is written with a different name, or was not written due to some error. It has little to do with GPU usage, as [this](https://www.kaggle.com/code-competition-debugging) explains."
    },
    {
      "id": 1919400,
      "postDate": "2022-08-30T11:25:32.980Z",
      "content": "<p>Did you find the cause of the error?</p>",
      "rawMarkdown": "Did you find the cause of the error?"
    }
  ],
  "comments": [
    {
      "id": 1919916,
      "author_name": "tdiceman",
      "author_url": "",
      "post_date": "2022-08-30T18:28:21.353000",
      "content": "<p>I think submission csv not found is the final scoring process error. That's most likely the issue with reading 'submission.csv' which is written with a different name, or was not written due to some error. It has little to do with GPU usage, as <a href=\"https://www.kaggle.com/code-competition-debugging\" target=\"_blank\">this</a> explains.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1919400,
      "author_name": "Zaakcii Ru",
      "author_url": "",
      "post_date": "2022-08-30T11:25:32.980000",
      "content": "<p>Did you find the cause of the error?</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1872402": "Im trying to figure out whats causing the above error. I submitted my code upto the dataloading part, and got a 'submission csv not found error' (which means the data is loaded correcctly')\n\nBeyond that I do:\n\ndevice = 'cuda' if torch.cuda.is_available() else 'cpu'\nmodel= load model and weights\n\ntest_dataset = dataset\ntest_dataloader = DataLoader(test_dataset, batch_size=1, shuffle=False)\n\nout = model(images)\n\nAnd then go on to concatenate and write the data. Can anyone tell me where Im possibly going wrong? Does our submission not have access to GPU, and so my model cant load the weights?\n\nThanks",
    "1919916": "I think submission csv not found is the final scoring process error. That's most likely the issue with reading 'submission.csv' which is written with a different name, or was not written due to some error. It has little to do with GPU usage, as [this](https://www.kaggle.com/code-competition-debugging) explains.",
    "1919400": "Did you find the cause of the error?"
  }
}