{
  "id": 300491,
  "title": "I am confused about submission process",
  "url": "/competitions/tensorflow-great-barrier-reef/discussion/300491",
  "author_name": "",
  "post_date": "2022-01-12T21:16:02.985203300Z",
  "votes": 1,
  "comment_count": 10,
  "views": 0,
  "content": "<p>Hi,<br>\nI am new to kaggle and, perhaps, my question is obvious, but I don't understand the entire process of submission.<br>\nFirst of all, what do I submit - notebook or results?<br>\nThis is a code competition and, as I could understand, my code will be run automatically on entire dataset by kaggle, without my participation. Is that correct? In that case, I have to provide the notebook that could be run as a script, not cell by cell. Do I get it right?<br>\nI guess that there are detailed answers and instructions, which resolve all my questions. I'll very appreciate if anybody can provide me with links.</p>",
  "messages": [
    {
      "id": "1647733",
      "postDate": "01/12/2022 21:16:02",
      "content": "<p>Hi,<br>\nI am new to kaggle and, perhaps, my question is obvious, but I don't understand the entire process of submission.<br>\nFirst of all, what do I submit - notebook or results?<br>\nThis is a code competition and, as I could understand, my code will be run automatically on entire dataset by kaggle, without my participation. Is that correct? In that case, I have to provide the notebook that could be run as a script, not cell by cell. Do I get it right?<br>\nI guess that there are detailed answers and instructions, which resolve all my questions. I'll very appreciate if anybody can provide me with links.</p>",
      "rawMarkdown": "Hi,\nI am new to kaggle and, perhaps, my question is obvious, but I don't understand the entire process of submission.\nFirst of all, what do I submit - notebook or results?\nThis is a code competition and, as I could understand, my code will be run automatically on entire dataset by kaggle, without my participation. Is that correct? In that case, I have to provide the notebook that could be run as a script, not cell by cell. Do I get it right?\nI guess that there are detailed answers and instructions, which resolve all my questions. I'll very appreciate if anybody can provide me with links.",
      "votes": null
    },
    {
      "id": "1647865",
      "postDate": "01/13/2022 01:29:00",
      "content": "<p><a href=\"https://www.kaggle.com/yurikreinin\" target=\"_blank\">@yurikreinin</a> </p>\n<p><a href=\"https://www.kaggle.com/learn\" target=\"_blank\">Kaggle Course</a> page is a place I would recommend you go through</p>\n<ul>\n<li>Python course: walks you through how to do a submission with the </li>\n<li>Intro to ML an Intermediate ML walks you through the steps of typically done in a competition.</li>\n</ul>\n<p>Good luck</p>",
      "rawMarkdown": "yurikreinin \n\n[Kaggle Course](https://www.kaggle.com/learn) page is a place I would recommend you go through\n- Python course: walks you through how to do a submission with the \n- Intro to ML an Intermediate ML walks you through the steps of typically done in a competition.\n\nGood luck",
      "votes": null
    },
    {
      "id": "1647982",
      "postDate": "01/13/2022 03:20:37",
      "content": "<p>You submit a notebook which outputs the predictions. In this competition, there is a tiny bit of special API code you must include in your notebook to properly make a submission. </p>\n<p>You will save your notebook however you wish to code it. Then on the competition submission page, you'll chose the notebook and click the submit button. The submission and scoring process will execute in the background.</p>\n<p>Keep in mind that this is an <em>internet off</em> competition, so you must toggle the internet off in your notebook. </p>",
      "rawMarkdown": "You submit a notebook which outputs the predictions. In this competition, there is a tiny bit of special API code you must include in your notebook to properly make a submission. \n\nYou will save your notebook however you wish to code it. Then on the competition submission page, you'll chose the notebook and click the submit button. The submission and scoring process will execute in the background.\n\nKeep in mind that this is an *internet off* competition, so you must toggle the internet off in your notebook.",
      "votes": null
    },
    {
      "id": "1648001",
      "postDate": "01/13/2022 03:46:15",
      "content": "<p>David,<br>\nThank you for your reply.<br>\nI understand that I have to interact with API and I can see the example. But I don't get very simple thing: my code is notebook containing different cells, one which is derived from example. But there are others. For instance, I load my pre-trained model and I do some pre or post-processing etc. If I submit script (module) and not notebook - it would be transparent: functions, classes, global variables and then prediction sequence derived from the example under <strong>main</strong>, so it can be run in background. But how it is expected to work with notebook and not a script?</p>",
      "rawMarkdown": "David,\nThank you for your reply.\nI understand that I have to interact with API and I can see the example. But I don't get very simple thing: my code is notebook containing different cells, one which is derived from example. But there are others. For instance, I load my pre-trained model and I do some pre or post-processing etc. If I submit script (module) and not notebook - it would be transparent: functions, classes, global variables and then prediction sequence derived from the example under __main__, so it can be run in background. But how it is expected to work with notebook and not a script?",
      "votes": null
    },
    {
      "id": "1648050",
      "postDate": "01/13/2022 04:45:59",
      "content": "<p>You don't need an entry point when you're using the notebook editor in Notebook mode, like you would in a normal script. If your notebook runs without error, submit it the way it is. There is no need to change it.</p>",
      "rawMarkdown": "You don't need an entry point when you're using the notebook editor in Notebook mode, like you would in a normal script. If your notebook runs without error, submit it the way it is. There is no need to change it.",
      "votes": null
    },
    {
      "id": "1648054",
      "postDate": "01/13/2022 04:55:53",
      "content": "<p>Thank you, David.<br>\nIf I got you right, it means that my entire notebook is running like it is a script from top to bottom.</p>",
      "rawMarkdown": "Thank you, David.\nIf I got you right, it means that my entire notebook is running like it is a script from top to bottom.",
      "votes": null
    },
    {
      "id": "1666556",
      "postDate": "01/27/2022 21:23:04",
      "content": "<p>Hi I followed all the steps but I keep getting a submission scoring error. Can someone advice please <a href=\"https://www.kaggle.com/davidbroberts\" target=\"_blank\">@davidbroberts</a> </p>",
      "rawMarkdown": "Hi I followed all the steps but I keep getting a submission scoring error. Can someone advice please @davidbroberts",
      "votes": null
    },
    {
      "id": "1666641",
      "postDate": "01/28/2022 00:31:37",
      "content": "<p><a href=\"https://www.kaggle.com/ulricharmel\" target=\"_blank\">@ulricharmel</a>,<br>\nThere are some things that you should double-check.</p>\n<ol>\n<li>All values are \"space\" separated. No commas or anything else</li>\n<li>The first value for each bounding box (confidence) should be in floating point format (<strong>:.2f</strong>)</li>\n<li>The other 4 values (x y width height) has to be integers. No floating point is allowed. So, if your prediction returns floating point value for the rectangle - use <strong>:.0f</strong>. Actually, you can use this format for integer type as well, so just use <strong>:.0f</strong> format.</li>\n</ol>\n<p>Because testing doesn't contain any bounding boxes, I would recommend to double-check the annotations string that you create, write the code that:</p>\n<ol>\n<li>Opens some file from dataset, which contains a few bounding boxes</li>\n<li>Run your prediction procedure</li>\n<li>Create the annotations string with exactly the same code, as in submission</li>\n<li>Print and review it</li>\n</ol>",
      "rawMarkdown": "ulricharmel,\nThere are some things that you should double-check.\n1. All values are \"space\" separated. No commas or anything else\n2. The first value for each bounding box (confidence) should be in floating point format (**:.2f**)\n3. The other 4 values (x y width height) has to be integers. No floating point is allowed. So, if your prediction returns floating point value for the rectangle - use **:.0f**. Actually, you can use this format for integer type as well, so just use **:.0f** format.\n\nBecause testing doesn't contain any bounding boxes, I would recommend to double-check the annotations string that you create, write the code that:\n1. Opens some file from dataset, which contains a few bounding boxes\n2. Run your prediction procedure\n3. Create the annotations string with exactly the same code, as in submission\n4. Print and review it",
      "votes": null
    },
    {
      "id": "1668815",
      "postDate": "01/30/2022 04:20:46",
      "content": "<p>Thanks for the advices.<br>\nBut why are you sure of points 2 and 3 (:.2f   and    :.0f    format)?  I seem to be able to use float numbers without limiting decimal places (have score after submission).</p>",
      "rawMarkdown": "Thanks for the advices.\nBut why are you sure of points 2 and 3 (:.2f   and    :.0f    format)?  I seem to be able to use float numbers without limiting decimal places (have score after submission).",
      "votes": null
    },
    {
      "id": "1668884",
      "postDate": "01/30/2022 06:12:50",
      "content": "<p>I've received <strong><em>submission erro</em></strong>r until I changed coordinates to be integer.<br>\nRegarding to <em>confidence</em>, it may contain more than 2 decimal digits after floating point, I just provided the <strong>:.2f</strong> format as a recommendation.</p>",
      "rawMarkdown": "I've received ***submission erro***r until I changed coordinates to be integer.\nRegarding to *confidence*, it may contain more than 2 decimal digits after floating point, I just provided the **:.2f** format as a recommendation.",
      "votes": null
    },
    {
      "id": "1668985",
      "postDate": "01/30/2022 08:13:49",
      "content": "<p>Weird. I've tried without rounding and with rounding  of bounding boxes. It worked this way and that. In the second case (for integer bounding boxes), the score was 0.001 higher.</p>",
      "rawMarkdown": "Weird. I've tried without rounding and with rounding  of bounding boxes. It worked this way and that. In the second case (for integer bounding boxes), the score was 0.001 higher.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1647865,
      "author_name": "yvonnef",
      "author_url": "",
      "post_date": "01/13/2022 01:29:00",
      "content": "<p><a href=\"https://www.kaggle.com/yurikreinin\" target=\"_blank\">@yurikreinin</a> </p>\n<p><a href=\"https://www.kaggle.com/learn\" target=\"_blank\">Kaggle Course</a> page is a place I would recommend you go through</p>\n<ul>\n<li>Python course: walks you through how to do a submission with the </li>\n<li>Intro to ML an Intermediate ML walks you through the steps of typically done in a competition.</li>\n</ul>\n<p>Good luck</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1647982,
      "author_name": "davidbroberts",
      "author_url": "",
      "post_date": "01/13/2022 03:20:37",
      "content": "<p>You submit a notebook which outputs the predictions. In this competition, there is a tiny bit of special API code you must include in your notebook to properly make a submission. </p>\n<p>You will save your notebook however you wish to code it. Then on the competition submission page, you'll chose the notebook and click the submit button. The submission and scoring process will execute in the background.</p>\n<p>Keep in mind that this is an <em>internet off</em> competition, so you must toggle the internet off in your notebook. </p>",
      "votes": null,
      "replies": [
        {
          "id": 1648001,
          "author_name": "yurikreinin",
          "author_url": "",
          "post_date": "01/13/2022 03:46:15",
          "content": "<p>David,<br>\nThank you for your reply.<br>\nI understand that I have to interact with API and I can see the example. But I don't get very simple thing: my code is notebook containing different cells, one which is derived from example. But there are others. For instance, I load my pre-trained model and I do some pre or post-processing etc. If I submit script (module) and not notebook - it would be transparent: functions, classes, global variables and then prediction sequence derived from the example under <strong>main</strong>, so it can be run in background. But how it is expected to work with notebook and not a script?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1648050,
          "author_name": "davidbroberts",
          "author_url": "",
          "post_date": "01/13/2022 04:45:59",
          "content": "<p>You don't need an entry point when you're using the notebook editor in Notebook mode, like you would in a normal script. If your notebook runs without error, submit it the way it is. There is no need to change it.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1648054,
          "author_name": "yurikreinin",
          "author_url": "",
          "post_date": "01/13/2022 04:55:53",
          "content": "<p>Thank you, David.<br>\nIf I got you right, it means that my entire notebook is running like it is a script from top to bottom.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1666556,
          "author_name": "ulricharmel",
          "author_url": "",
          "post_date": "01/27/2022 21:23:04",
          "content": "<p>Hi I followed all the steps but I keep getting a submission scoring error. Can someone advice please <a href=\"https://www.kaggle.com/davidbroberts\" target=\"_blank\">@davidbroberts</a> </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1666641,
          "author_name": "yurikreinin",
          "author_url": "",
          "post_date": "01/28/2022 00:31:37",
          "content": "<p><a href=\"https://www.kaggle.com/ulricharmel\" target=\"_blank\">@ulricharmel</a>,<br>\nThere are some things that you should double-check.</p>\n<ol>\n<li>All values are \"space\" separated. No commas or anything else</li>\n<li>The first value for each bounding box (confidence) should be in floating point format (<strong>:.2f</strong>)</li>\n<li>The other 4 values (x y width height) has to be integers. No floating point is allowed. So, if your prediction returns floating point value for the rectangle - use <strong>:.0f</strong>. Actually, you can use this format for integer type as well, so just use <strong>:.0f</strong> format.</li>\n</ol>\n<p>Because testing doesn't contain any bounding boxes, I would recommend to double-check the annotations string that you create, write the code that:</p>\n<ol>\n<li>Opens some file from dataset, which contains a few bounding boxes</li>\n<li>Run your prediction procedure</li>\n<li>Create the annotations string with exactly the same code, as in submission</li>\n<li>Print and review it</li>\n</ol>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1668815,
          "author_name": "dushepa",
          "author_url": "",
          "post_date": "01/30/2022 04:20:46",
          "content": "<p>Thanks for the advices.<br>\nBut why are you sure of points 2 and 3 (:.2f   and    :.0f    format)?  I seem to be able to use float numbers without limiting decimal places (have score after submission).</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1668884,
          "author_name": "yurikreinin",
          "author_url": "",
          "post_date": "01/30/2022 06:12:50",
          "content": "<p>I've received <strong><em>submission erro</em></strong>r until I changed coordinates to be integer.<br>\nRegarding to <em>confidence</em>, it may contain more than 2 decimal digits after floating point, I just provided the <strong>:.2f</strong> format as a recommendation.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1668985,
          "author_name": "dushepa",
          "author_url": "",
          "post_date": "01/30/2022 08:13:49",
          "content": "<p>Weird. I've tried without rounding and with rounding  of bounding boxes. It worked this way and that. In the second case (for integer bounding boxes), the score was 0.001 higher.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1647733": "Hi,\nI am new to kaggle and, perhaps, my question is obvious, but I don't understand the entire process of submission.\nFirst of all, what do I submit - notebook or results?\nThis is a code competition and, as I could understand, my code will be run automatically on entire dataset by kaggle, without my participation. Is that correct? In that case, I have to provide the notebook that could be run as a script, not cell by cell. Do I get it right?\nI guess that there are detailed answers and instructions, which resolve all my questions. I'll very appreciate if anybody can provide me with links.",
    "1647865": "yurikreinin \n\n[Kaggle Course](https://www.kaggle.com/learn) page is a place I would recommend you go through\n- Python course: walks you through how to do a submission with the \n- Intro to ML an Intermediate ML walks you through the steps of typically done in a competition.\n\nGood luck",
    "1647982": "You submit a notebook which outputs the predictions. In this competition, there is a tiny bit of special API code you must include in your notebook to properly make a submission. \n\nYou will save your notebook however you wish to code it. Then on the competition submission page, you'll chose the notebook and click the submit button. The submission and scoring process will execute in the background.\n\nKeep in mind that this is an *internet off* competition, so you must toggle the internet off in your notebook.",
    "1648001": "David,\nThank you for your reply.\nI understand that I have to interact with API and I can see the example. But I don't get very simple thing: my code is notebook containing different cells, one which is derived from example. But there are others. For instance, I load my pre-trained model and I do some pre or post-processing etc. If I submit script (module) and not notebook - it would be transparent: functions, classes, global variables and then prediction sequence derived from the example under __main__, so it can be run in background. But how it is expected to work with notebook and not a script?",
    "1648050": "You don't need an entry point when you're using the notebook editor in Notebook mode, like you would in a normal script. If your notebook runs without error, submit it the way it is. There is no need to change it.",
    "1648054": "Thank you, David.\nIf I got you right, it means that my entire notebook is running like it is a script from top to bottom.",
    "1666556": "Hi I followed all the steps but I keep getting a submission scoring error. Can someone advice please @davidbroberts",
    "1666641": "ulricharmel,\nThere are some things that you should double-check.\n1. All values are \"space\" separated. No commas or anything else\n2. The first value for each bounding box (confidence) should be in floating point format (**:.2f**)\n3. The other 4 values (x y width height) has to be integers. No floating point is allowed. So, if your prediction returns floating point value for the rectangle - use **:.0f**. Actually, you can use this format for integer type as well, so just use **:.0f** format.\n\nBecause testing doesn't contain any bounding boxes, I would recommend to double-check the annotations string that you create, write the code that:\n1. Opens some file from dataset, which contains a few bounding boxes\n2. Run your prediction procedure\n3. Create the annotations string with exactly the same code, as in submission\n4. Print and review it",
    "1668815": "Thanks for the advices.\nBut why are you sure of points 2 and 3 (:.2f   and    :.0f    format)?  I seem to be able to use float numbers without limiting decimal places (have score after submission).",
    "1668884": "I've received ***submission erro***r until I changed coordinates to be integer.\nRegarding to *confidence*, it may contain more than 2 decimal digits after floating point, I just provided the **:.2f** format as a recommendation.",
    "1668985": "Weird. I've tried without rounding and with rounding  of bounding boxes. It worked this way and that. In the second case (for integer bounding boxes), the score was 0.001 higher."
  },
  "source": "meta"
}