{
  "id": 615074,
  "title": "Submission fails after generating the submission.csv. What am I missing?",
  "url": "/competitions/csiro-biomass/discussion/615074",
  "author_name": "",
  "post_date": "2025-11-08T18:10:02.336789400Z",
  "votes": 1,
  "comment_count": 8,
  "views": 0,
  "content": "<p>The attached screenshot is an error I am getting when submitting my code. <img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F782030%2Fc577e45489f28fa27619e56ac2c0d0bf%2FScreenshot%202025-11-08%20at%2013-07-10%20pasture_biomass_prediction.png?generation=1762625396729788&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "3313134",
      "postDate": "11/08/2025 18:10:02",
      "content": "<p>The attached screenshot is an error I am getting when submitting my code. <img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F782030%2Fc577e45489f28fa27619e56ac2c0d0bf%2FScreenshot%202025-11-08%20at%2013-07-10%20pasture_biomass_prediction.png?generation=1762625396729788&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "The attached screenshot is an error I am getting when submitting my code. ![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F782030%2Fc577e45489f28fa27619e56ac2c0d0bf%2FScreenshot%202025-11-08%20at%2013-07-10%20pasture_biomass_prediction.png?generation=1762625396729788&alt=media)",
      "votes": null
    },
    {
      "id": "3313253",
      "postDate": "11/09/2025 02:27:53",
      "content": "<p>Really helps if you share your notebook - otherwise we just guessing.  </p>\n<p>Also a little confusing - we normally will not be able to see the log for a actual submission, so a bit of confusion on what your doing when it fails.</p>",
      "rawMarkdown": "Really helps if you share your notebook - otherwise we just guessing.  \n\nAlso a little confusing - we normally will not be able to see the log for a actual submission, so a bit of confusion on what your doing when it fails.",
      "votes": null
    },
    {
      "id": "3313604",
      "postDate": "11/09/2025 14:28:44",
      "content": "<p>Here is a link to my notebook: <a href=\"https://www.kaggle.com/code/leezmiriam/pasture-biomass-prediction\" target=\"_blank\">https://www.kaggle.com/code/leezmiriam/pasture-biomass-prediction</a></p>",
      "rawMarkdown": "Here is a link to my notebook: https://www.kaggle.com/code/leezmiriam/pasture-biomass-prediction",
      "votes": null
    },
    {
      "id": "3313915",
      "postDate": "11/10/2025 01:28:08",
      "content": "<p>Hi Im having the same issue too, but i havent been able to fix it using these methods \n<a href=\"https://www.kaggle.com/code/kenjidarmawan/image2biomassv1\" target=\"_blank\">https://www.kaggle.com/code/kenjidarmawan/image2biomassv1</a></p>",
      "rawMarkdown": "Hi Im having the same issue too, but i havent been able to fix it using these methods \nhttps://www.kaggle.com/code/kenjidarmawan/image2biomassv1",
      "votes": null
    },
    {
      "id": "3314560",
      "postDate": "11/10/2025 08:33:53",
      "content": "<p>I had this issue too, no idea why. I changed from Notebook to Script in Kaggle File -&gt; Editor Type -&gt; Script and it worked…</p>",
      "rawMarkdown": "I had this issue too, no idea why. I changed from Notebook to Script in Kaggle File -> Editor Type -> Script and it worked...",
      "votes": null
    },
    {
      "id": "3315456",
      "postDate": "11/10/2025 16:03:48",
      "content": "<p><a href=\"https://www.kaggle.com/leezmiriam\" target=\"_blank\">Elizabeth</a></p>\n<p>You code does run nicely both in kaggle and on my local machine.  I made a prediction on my local PC of the full training set of images rather than the single provided test image.  Worked fine, so none of the common memory errors appear to be present.</p>\n<p>When running for a submission kaggle does not permit files to be saved.  Your notebook is saving the models in a folder.  You must delete that folder at the end of the code.  It should work.    </p>\n<p>The prohibition against saving files is to prevent cheating - most of the kaggle rules have developed over the years as a result of cheaters :)</p>",
      "rawMarkdown": "[Elizabeth](https://www.kaggle.com/leezmiriam)\n\nYou code does run nicely both in kaggle and on my local machine.  I made a prediction on my local PC of the full training set of images rather than the single provided test image.  Worked fine, so none of the common memory errors appear to be present.\n\nWhen running for a submission kaggle does not permit files to be saved.  Your notebook is saving the models in a folder.  You must delete that folder at the end of the code.  It should work.    \n\nThe prohibition against saving files is to prevent cheating - most of the kaggle rules have developed over the years as a result of cheaters :)",
      "votes": null
    },
    {
      "id": "3315459",
      "postDate": "11/10/2025 16:06:25",
      "content": "<p>Your issue likely the same as Elizabeth - your saving files - you cannot have any saved files at the end of the submission - so delete those in the last cell of the notebook and things might work. </p>",
      "rawMarkdown": "Your issue likely the same as Elizabeth - your saving files - you cannot have any saved files at the end of the submission - so delete those in the last cell of the notebook and things might work.",
      "votes": null
    },
    {
      "id": "3316923",
      "postDate": "11/10/2025 21:27:51",
      "content": "<p>This seemed to solve the problem. Thank you.</p>",
      "rawMarkdown": "This seemed to solve the problem. Thank you.",
      "votes": null
    },
    {
      "id": "3316925",
      "postDate": "11/10/2025 21:28:43",
      "content": "<p>Thank you. I tried not saving the models but seemed to experience the same issue. What worked is the comment from <a href=\"https://www.kaggle.com/timkrige\" target=\"_blank\">@timkrige</a> </p>",
      "rawMarkdown": "Thank you. I tried not saving the models but seemed to experience the same issue. What worked is the comment from @timkrige",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3313253,
      "author_name": "pcjimmmy",
      "author_url": "",
      "post_date": "11/09/2025 02:27:53",
      "content": "<p>Really helps if you share your notebook - otherwise we just guessing.  </p>\n<p>Also a little confusing - we normally will not be able to see the log for a actual submission, so a bit of confusion on what your doing when it fails.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3313604,
          "author_name": "leezmiriam",
          "author_url": "",
          "post_date": "11/09/2025 14:28:44",
          "content": "<p>Here is a link to my notebook: <a href=\"https://www.kaggle.com/code/leezmiriam/pasture-biomass-prediction\" target=\"_blank\">https://www.kaggle.com/code/leezmiriam/pasture-biomass-prediction</a></p>",
          "votes": null,
          "replies": [
            {
              "id": 3315456,
              "author_name": "pcjimmmy",
              "author_url": "",
              "post_date": "11/10/2025 16:03:48",
              "content": "<p><a href=\"https://www.kaggle.com/leezmiriam\" target=\"_blank\">Elizabeth</a></p>\n<p>You code does run nicely both in kaggle and on my local machine.  I made a prediction on my local PC of the full training set of images rather than the single provided test image.  Worked fine, so none of the common memory errors appear to be present.</p>\n<p>When running for a submission kaggle does not permit files to be saved.  Your notebook is saving the models in a folder.  You must delete that folder at the end of the code.  It should work.    </p>\n<p>The prohibition against saving files is to prevent cheating - most of the kaggle rules have developed over the years as a result of cheaters :)</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3316925,
                  "author_name": "leezmiriam",
                  "author_url": "",
                  "post_date": "11/10/2025 21:28:43",
                  "content": "<p>Thank you. I tried not saving the models but seemed to experience the same issue. What worked is the comment from <a href=\"https://www.kaggle.com/timkrige\" target=\"_blank\">@timkrige</a> </p>",
                  "votes": null,
                  "replies": []
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": 3313915,
      "author_name": "kenjidarmawan",
      "author_url": "",
      "post_date": "11/10/2025 01:28:08",
      "content": "<p>Hi Im having the same issue too, but i havent been able to fix it using these methods \n<a href=\"https://www.kaggle.com/code/kenjidarmawan/image2biomassv1\" target=\"_blank\">https://www.kaggle.com/code/kenjidarmawan/image2biomassv1</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 3315459,
          "author_name": "pcjimmmy",
          "author_url": "",
          "post_date": "11/10/2025 16:06:25",
          "content": "<p>Your issue likely the same as Elizabeth - your saving files - you cannot have any saved files at the end of the submission - so delete those in the last cell of the notebook and things might work. </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3314560,
      "author_name": "timkrige",
      "author_url": "",
      "post_date": "11/10/2025 08:33:53",
      "content": "<p>I had this issue too, no idea why. I changed from Notebook to Script in Kaggle File -&gt; Editor Type -&gt; Script and it worked…</p>",
      "votes": null,
      "replies": [
        {
          "id": 3316923,
          "author_name": "leezmiriam",
          "author_url": "",
          "post_date": "11/10/2025 21:27:51",
          "content": "<p>This seemed to solve the problem. Thank you.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3313134": "The attached screenshot is an error I am getting when submitting my code. ![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F782030%2Fc577e45489f28fa27619e56ac2c0d0bf%2FScreenshot%202025-11-08%20at%2013-07-10%20pasture_biomass_prediction.png?generation=1762625396729788&alt=media)",
    "3313253": "Really helps if you share your notebook - otherwise we just guessing.  \n\nAlso a little confusing - we normally will not be able to see the log for a actual submission, so a bit of confusion on what your doing when it fails.",
    "3313604": "Here is a link to my notebook: https://www.kaggle.com/code/leezmiriam/pasture-biomass-prediction",
    "3313915": "Hi Im having the same issue too, but i havent been able to fix it using these methods \nhttps://www.kaggle.com/code/kenjidarmawan/image2biomassv1",
    "3314560": "I had this issue too, no idea why. I changed from Notebook to Script in Kaggle File -> Editor Type -> Script and it worked...",
    "3315456": "[Elizabeth](https://www.kaggle.com/leezmiriam)\n\nYou code does run nicely both in kaggle and on my local machine.  I made a prediction on my local PC of the full training set of images rather than the single provided test image.  Worked fine, so none of the common memory errors appear to be present.\n\nWhen running for a submission kaggle does not permit files to be saved.  Your notebook is saving the models in a folder.  You must delete that folder at the end of the code.  It should work.    \n\nThe prohibition against saving files is to prevent cheating - most of the kaggle rules have developed over the years as a result of cheaters :)",
    "3315459": "Your issue likely the same as Elizabeth - your saving files - you cannot have any saved files at the end of the submission - so delete those in the last cell of the notebook and things might work.",
    "3316923": "This seemed to solve the problem. Thank you.",
    "3316925": "Thank you. I tried not saving the models but seemed to experience the same issue. What worked is the comment from @timkrige"
  },
  "source": "meta"
}