{
  "id": 148562,
  "title": "New to Machine Learning or to Kaggle? ",
  "url": "/competitions/global-wheat-detection/discussion/148562",
  "author_name": "",
  "post_date": "2020-05-04T19:56:07.189656900Z",
  "votes": 5,
  "comment_count": 37,
  "views": 0,
  "content": "<p>New to machine learning and data science? No question is too basic or too simple. Feel free to start your own thread, or use this thread as a place to post any first-timer clarifying questions for the Kaggle community to help you with! </p>\n\n<p>If you would consider yourself a beginner but don't know where to get started, let other Kagglers help you take your first steps here!</p>\n\n<p>New to Kaggle? Take a look at a few videos our very own Dr. Rachael Tatman has put together to learn a bit more about <a href=\"https://www.youtube.com/watch?v=aIus8si_Et0\">site etiquette</a>, <a href=\"https://www.youtube.com/watch?v=sEJHyuWKd-s\">Kaggle lingo</a>, and <a href=\"https://www.youtube.com/watch?&amp;v=GJBOMWpLpTQ\">how to enter a competition using Kaggle Notebooks</a>.</p>",
  "messages": [
    {
      "id": "833429",
      "postDate": "05/04/2020 19:56:07",
      "content": "<p>New to machine learning and data science? No question is too basic or too simple. Feel free to start your own thread, or use this thread as a place to post any first-timer clarifying questions for the Kaggle community to help you with! </p>\n\n<p>If you would consider yourself a beginner but don't know where to get started, let other Kagglers help you take your first steps here!</p>\n\n<p>New to Kaggle? Take a look at a few videos our very own Dr. Rachael Tatman has put together to learn a bit more about <a href=\"https://www.youtube.com/watch?v=aIus8si_Et0\">site etiquette</a>, <a href=\"https://www.youtube.com/watch?v=sEJHyuWKd-s\">Kaggle lingo</a>, and <a href=\"https://www.youtube.com/watch?&amp;v=GJBOMWpLpTQ\">how to enter a competition using Kaggle Notebooks</a>.</p>",
      "rawMarkdown": "New to machine learning and data science? No question is too basic or too simple. Feel free to start your own thread, or use this thread as a place to post any first-timer clarifying questions for the Kaggle community to help you with! \n\nIf you would consider yourself a beginner but don't know where to get started, let other Kagglers help you take your first steps here!\n\nNew to Kaggle? Take a look at a few videos our very own Dr. Rachael Tatman has put together to learn a bit more about [site etiquette](https://www.youtube.com/watch?v=aIus8si_Et0), [Kaggle lingo](https://www.youtube.com/watch?v=sEJHyuWKd-s), and [how to enter a competition using Kaggle Notebooks](https://www.youtube.com/watch?&amp;v=GJBOMWpLpTQ).",
      "votes": null
    },
    {
      "id": "834790",
      "postDate": "05/05/2020 19:19:44",
      "content": "<p>Hi, \n    I have just started doing basic ML stuff and this is my first time on kaggle.\nI am trying to implement a simple Neural Network. Is the training data given to us or do we have to find it ourselves and then use the add data button in the data section to use it?\nIs the input file empty given to us in the data section empty?\nThanks </p>",
      "rawMarkdown": "Hi, \n    I have just started doing basic ML stuff and this is my first time on kaggle.\nI am trying to implement a simple Neural Network. Is the training data given to us or do we have to find it ourselves and then use the add data button in the data section to use it?\nIs the input file empty given to us in the data section empty?\nThanks",
      "votes": null
    },
    {
      "id": "834921",
      "postDate": "05/05/2020 22:26:34",
      "content": "<p>We have been given the training data.</p>",
      "rawMarkdown": "We have been given the training data.",
      "votes": null
    },
    {
      "id": "835066",
      "postDate": "05/06/2020 03:02:10",
      "content": "<p>Hi Kanishk,\nsuggest you to go through this.\n<a href=\"https://www.kaggle.com/alexisbcook/titanic-tutorial\">Kaggle Tutorial - Titanic Competition</a></p>",
      "rawMarkdown": "Hi Kanishk,\nsuggest you to go through this.\n[Kaggle Tutorial - Titanic Competition](https://www.kaggle.com/alexisbcook/titanic-tutorial)",
      "votes": null
    },
    {
      "id": "835096",
      "postDate": "05/06/2020 03:44:12",
      "content": "<p>Hi ,</p>\n\n<p>I have just finished my basic ML course and first time in Kaggle. \nI have tried doing Titanic competition and could understand the process. It would be great if you could guide me?</p>\n\n<p>Thanks</p>",
      "rawMarkdown": "Hi ,\n\nI have just finished my basic ML course and first time in Kaggle. \nI have tried doing Titanic competition and could understand the process. It would be great if you could guide me?\n\nThanks",
      "votes": null
    },
    {
      "id": "835242",
      "postDate": "05/06/2020 06:19:55",
      "content": "<p>Happy to have you joining the competition !</p>\n\n<p>You can start by looking at these notebooks:\n- <a href=\"https://www.kaggle.com/bendvd/global-wheat-detection-first-submission\">https://www.kaggle.com/bendvd/global-wheat-detection-first-submission</a>\n- <a href=\"https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-train\">https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-train</a></p>",
      "rawMarkdown": "Happy to have you joining the competition !\n\nYou can start by looking at these notebooks:\n- https://www.kaggle.com/bendvd/global-wheat-detection-first-submission\n- https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-train",
      "votes": null
    },
    {
      "id": "837883",
      "postDate": "05/08/2020 05:37:51",
      "content": "<p>I am new to Kaggle and the submission process (or rules??) is not clear at all. The submit to competition button is disabled and mouse hover over it shows: \"You do not have a competition data source.\"\nCan someone explain what that means?</p>\n\n<p>Similar to the \"titanic tutorial\" etc linked below I am trying to fine tune a keras_retinanet model and then make predictions. I believe I have successfully created the submissions.csv file.</p>\n\n<p>All the tutorials and shared kernels seem to be using Pytorch. But I am trying to use this repo which basically provides pretrained models and framework for finetuning/inference just like Pytorch but with Keras/Tensorflow: </p>\n\n<p><a href=\"https://github.com/fizyr/keras-retinanet\">https://github.com/fizyr/keras-retinanet</a></p>\n\n<p>I would be happy to share any more details or codes (training/testing anything) etc. if anyone can help me understand what's going on.</p>\n\n<p>Thanks!</p>",
      "rawMarkdown": "I am new to Kaggle and the submission process (or rules??) is not clear at all. The submit to competition button is disabled and mouse hover over it shows: \"You do not have a competition data source.\"\nCan someone explain what that means?\n\nSimilar to the \"titanic tutorial\" etc linked below I am trying to fine tune a keras_retinanet model and then make predictions. I believe I have successfully created the submissions.csv file.\n\nAll the tutorials and shared kernels seem to be using Pytorch. But I am trying to use this repo which basically provides pretrained models and framework for finetuning/inference just like Pytorch but with Keras/Tensorflow: \n\nhttps://github.com/fizyr/keras-retinanet\n\nI would be happy to share any more details or codes (training/testing anything) etc. if anyone can help me understand what's going on.\n\nThanks!",
      "votes": null
    },
    {
      "id": "839011",
      "postDate": "05/09/2020 02:06:25",
      "content": "<p>When I am turning off internet, the public pre-trained model is not getting downloaded and the script is failing. So that means we can't use transfer learning or there is a workaround ? This works fine with internet on. Please help.</p>",
      "rawMarkdown": "When I am turning off internet, the public pre-trained model is not getting downloaded and the script is failing. So that means we can't use transfer learning or there is a workaround ? This works fine with internet on. Please help.",
      "votes": null
    },
    {
      "id": "839065",
      "postDate": "05/09/2020 03:30:11",
      "content": "<p>I have seen people using two different notebook instances for training and inference. Internet off criteria is set for inference part only.\nYou can check those notebook on notebooks section. </p>",
      "rawMarkdown": "I have seen people using two different notebook instances for training and inference. Internet off criteria is set for inference part only.\nYou can check those notebook on notebooks section.",
      "votes": null
    },
    {
      "id": "839085",
      "postDate": "05/09/2020 04:01:16",
      "content": "<p>Thanks for your response.</p>\n\n<p>So we can share file between notebooks ? Unfortunately when I saved the version ( run and save ), I couldn't find the weights file in the output folder. I may need to dig in more.</p>",
      "rawMarkdown": "Thanks for your response.\n\nSo we can share file between notebooks ? Unfortunately when I saved the version ( run and save ), I couldn't find the weights file in the output folder. I may need to dig in more.",
      "votes": null
    },
    {
      "id": "839089",
      "postDate": "05/09/2020 04:09:19",
      "content": "<p>The general strategy here is to have two notebooks: one for training (with internet) and another to perform inference (w/o internet). To get your trained weights to your inference notebook, you should upload them as a Kaggle dataset which your notebook can have access to even with no internet.</p>\n\n<p>As Rahat said, there's a few public kernels that use this approach so you should take a look to see how they import the weights.</p>",
      "rawMarkdown": "The general strategy here is to have two notebooks: one for training (with internet) and another to perform inference (w/o internet). To get your trained weights to your inference notebook, you should upload them as a Kaggle dataset which your notebook can have access to even with no internet.\n\nAs Rahat said, there's a few public kernels that use this approach so you should take a look to see how they import the weights.",
      "votes": null
    },
    {
      "id": "839099",
      "postDate": "05/09/2020 04:25:23",
      "content": "<p>Appreciate your quick response Matthew. I was able to break the scripts and submit the score.</p>",
      "rawMarkdown": "Appreciate your quick response Matthew. I was able to break the scripts and submit the score.",
      "votes": null
    },
    {
      "id": "852047",
      "postDate": "05/18/2020 06:18:15",
      "content": "<p>Hi\nI am trying to compete in Global Wheat Detection\nIn the sample_submission there are five entries in the predictive strings for each image id.\nI am wondering what are those values?</p>",
      "rawMarkdown": "Hi\nI am trying to compete in Global Wheat Detection\nIn the sample_submission there are five entries in the predictive strings for each image id.\nI am wondering what are those values?",
      "votes": null
    },
    {
      "id": "863307",
      "postDate": "05/27/2020 08:14:00",
      "content": "<p>Here's my youtube blog companion videos on the competition, helps me be motivated. Might be of help to someone else to get started : <a href=\"https://youtu.be/zxT8_lyA6fc\">https://youtu.be/zxT8_lyA6fc</a></p>",
      "rawMarkdown": "Here's my youtube blog companion videos on the competition, helps me be motivated. Might be of help to someone else to get started : https://youtu.be/zxT8_lyA6fc",
      "votes": null
    },
    {
      "id": "904964",
      "postDate": "06/28/2020 05:52:13",
      "content": "<p>I have created my notebook with submissions, but I am unable to find the submit button, I checked the documentation and followed all the rules but I am still unable to submit, can anyone help?</p>",
      "rawMarkdown": "I have created my notebook with submissions, but I am unable to find the submit button, I checked the documentation and followed all the rules but I am still unable to submit, can anyone help?",
      "votes": null
    },
    {
      "id": "904977",
      "postDate": "06/28/2020 06:26:11",
      "content": "<p>Commit your notebook. Then go to the viewer and look at the latest version. Scroll down to the output section and click on the 'submission.csv' you generated. Then there should be a submit button that you should see.</p>",
      "rawMarkdown": "Commit your notebook. Then go to the viewer and look at the latest version. Scroll down to the output section and click on the 'submission.csv' you generated. Then there should be a submit button that you should see.",
      "votes": null
    },
    {
      "id": "905438",
      "postDate": "06/28/2020 14:50:01",
      "content": "<p>I am unable to find this, is it possible for you to share a couple of screenshots with me?\nThis is what my csv looks like:\n<a href=\"https://imgur.com/a/QvoUGcd\">https://imgur.com/a/QvoUGcd</a></p>",
      "rawMarkdown": "I am unable to find this, is it possible for you to share a couple of screenshots with me?\nThis is what my csv looks like:\nhttps://imgur.com/a/QvoUGcd",
      "votes": null
    },
    {
      "id": "905444",
      "postDate": "06/28/2020 14:55:18",
      "content": "<p>Hi everyone </p>\n\n<p>Here are my two first notebook: \n<a href=\"https://www.kaggle.com/syphax93/interactive-visualization-modelling-0-803-top7\">https://www.kaggle.com/syphax93/interactive-visualization-modelling-0-803-top7</a> \n<a href=\"https://www.kaggle.com/syphax93/vapnik-s-theory-bias-variance-and-learning-curve\">https://www.kaggle.com/syphax93/vapnik-s-theory-bias-variance-and-learning-curve</a>   </p>\n\n<p>I'd like to have your opinion.Thanks</p>",
      "rawMarkdown": "Hi everyone \n\nHere are my two first notebook: \nhttps://www.kaggle.com/syphax93/interactive-visualization-modelling-0-803-top7 \nhttps://www.kaggle.com/syphax93/vapnik-s-theory-bias-variance-and-learning-curve   \n\nI'd like to have your opinion.Thanks",
      "votes": null
    },
    {
      "id": "905707",
      "postDate": "06/28/2020 18:20:47",
      "content": "<p>I think it's because you didn't name it 'submission.csv'. Try again  and it should look like this with a blue submit button:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F846065%2F3bbae72b1ec377fc24ed4407b61c12ba%2FScreenshot%20from%202020-06-28%2014-19-46.png?generation=1593368446651864&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I think it's because you didn't name it 'submission.csv'. Try again  and it should look like this with a blue submit button:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F846065%2F3bbae72b1ec377fc24ed4407b61c12ba%2FScreenshot%20from%202020-06-28%2014-19-46.png?generation=1593368446651864&amp;alt=media)",
      "votes": null
    },
    {
      "id": "905751",
      "postDate": "06/28/2020 19:02:18",
      "content": "<p>Ok, I have tried changing the configuration of my file to \"Save output for this run\" and ranyt it, but I cannot find the output, anything that can be done?</p>\n\n<p>Also, sorry to bother you so much with the beginner questions.</p>",
      "rawMarkdown": "Ok, I have tried changing the configuration of my file to \"Save output for this run\" and ranyt it, but I cannot find the output, anything that can be done?\n\nAlso, sorry to bother you so much with the beginner questions.",
      "votes": null
    },
    {
      "id": "905771",
      "postDate": "06/28/2020 19:21:05",
      "content": "<p>Not sure what you mean by the \"Save output for this run\". Did you commit your notebook again?</p>",
      "rawMarkdown": "Not sure what you mean by the \"Save output for this run\". Did you commit your notebook again?",
      "votes": null
    },
    {
      "id": "905778",
      "postDate": "06/28/2020 19:31:59",
      "content": "<p>Yes, I did commit it again with a save for version configuration\nVersion Settings\nSave outputs when creating a Quick Save</p>\n\n<p>Never save output</p>\n\n<p>Always save output</p>\n\n<p>Save output for this version\nSave &amp; Run All with an accelerator</p>\n\n<p>When I opened advanced settings on the save button, this is what I used to save output for version.</p>",
      "rawMarkdown": "Yes, I did commit it again with a save for version configuration\nVersion Settings\nSave outputs when creating a Quick Save\n\n\nNever save output\n\nAlways save output\n\nSave output for this version\nSave &amp; Run All with an accelerator\n\nWhen I opened advanced settings on the save button, this is what I used to save output for version.",
      "votes": null
    },
    {
      "id": "905799",
      "postDate": "06/28/2020 20:04:08",
      "content": "<p>Not really sure what you mean. So when you are editing your notebook, you pressed \"Save Version\" and then \"Save &amp; Run All (Commit)\", right? Then you go to the viewer and look at that last version.</p>",
      "rawMarkdown": "Not really sure what you mean. So when you are editing your notebook, you pressed \"Save Version\" and then \"Save &amp; Run All (Commit)\", right? Then you go to the viewer and look at that last version.",
      "votes": null
    },
    {
      "id": "906018",
      "postDate": "06/29/2020 03:11:08",
      "content": "<p>Yes, something like that:\nFirst I opened the advanced settings, and clicked on save output for this version.\nThen I clicked on Save &amp; Run All.</p>",
      "rawMarkdown": "Yes, something like that:\nFirst I opened the advanced settings, and clicked on save output for this version.\nThen I clicked on Save &amp; Run All.",
      "votes": null
    },
    {
      "id": "906612",
      "postDate": "06/29/2020 12:51:14",
      "content": "<p>And you're still having trouble finding the submit?</p>",
      "rawMarkdown": "And you're still having trouble finding the submit?",
      "votes": null
    },
    {
      "id": "906689",
      "postDate": "06/29/2020 13:50:05",
      "content": "<p>Yeah, I am not able to find the output file.</p>",
      "rawMarkdown": "Yeah, I am not able to find the output file.",
      "votes": null
    },
    {
      "id": "906697",
      "postDate": "06/29/2020 13:53:15",
      "content": "<p>Does it not generate or what? I'm sorry but I'm not sure how much further I can help. Just try to review what I have already told you</p>",
      "rawMarkdown": "Does it not generate or what? I'm sorry but I'm not sure how much further I can help. Just try to review what I have already told you",
      "votes": null
    },
    {
      "id": "906698",
      "postDate": "06/29/2020 13:54:07",
      "content": "<p>Ok, thanks for your help, Im just confused as to how to save the file once it opens...</p>",
      "rawMarkdown": "Ok, thanks for your help, Im just confused as to how to save the file once it opens...",
      "votes": null
    },
    {
      "id": "906701",
      "postDate": "06/29/2020 13:56:06",
      "content": "<p>Still I'm not sure what you mean.\n- In your notebook, within the code, you should save your predictions as 'submission.csv'.\n- Then commit.\n- Then view your latest commit in the viewer.\n- Scroll down to the output, like you showed me in the screenshot before.\n- Click on the submission.csv file.\n- And click submit.</p>",
      "rawMarkdown": "Still I'm not sure what you mean.\n- In your notebook, within the code, you should save your predictions as 'submission.csv'.\n- Then commit.\n- Then view your latest commit in the viewer.\n- Scroll down to the output, like you showed me in the screenshot before.\n- Click on the submission.csv file.\n- And click submit.",
      "votes": null
    },
    {
      "id": "906703",
      "postDate": "06/29/2020 13:57:20",
      "content": "<p>That was not my submission file, it was the sample submission file that they gave, I am not able to find my submission.csv in the viewer.</p>",
      "rawMarkdown": "That was not my submission file, it was the sample submission file that they gave, I am not able to find my submission.csv in the viewer.",
      "votes": null
    },
    {
      "id": "906712",
      "postDate": "06/29/2020 14:01:13",
      "content": "<p>Then perhaps the portion of code that saves your submission is not getting run? Check above in your code to see if it all got ran/if any errors came up</p>",
      "rawMarkdown": "Then perhaps the portion of code that saves your submission is not getting run? Check above in your code to see if it all got ran/if any errors came up",
      "votes": null
    },
    {
      "id": "906715",
      "postDate": "06/29/2020 14:02:50",
      "content": "<p>Ok, thanks.</p>",
      "rawMarkdown": "Ok, thanks.",
      "votes": null
    },
    {
      "id": "915192",
      "postDate": "07/04/2020 14:32:18",
      "content": "<p>Hi, I rewrote with just printing space seperated ones to the submission file. And when I submit this, it gives an error. A zero score is understandable, but why is there an error?</p>",
      "rawMarkdown": "Hi, I rewrote with just printing space seperated ones to the submission file. And when I submit this, it gives an error. A zero score is understandable, but why is there an error?",
      "votes": null
    },
    {
      "id": "915369",
      "postDate": "07/04/2020 17:15:54",
      "content": "<p>A couple reasons that may not be working:\na) Not using the right datatype. The PredictionString should contain a float followed by four integers. If the first number is not a float, it may not work.\nb) Not using the right length. If you tried something like \"0.000 0 0 0 0 0\" it may also not work because there is one extra number.\nc) You are not doing this for the entire test set, only the 10 images that are visible. In order for it to get scored correctly, you have to make predictions for all ~1000 images.\nd) Perhaps since you are passing all zeros, it causes an error during scoring because this indicates you are predicting a box with zero area. It may be a requirement that x0 &lt; x1 and y0 &lt; y1.</p>\n\n<p>Hope this helps.</p>",
      "rawMarkdown": "A couple reasons that may not be working:\na) Not using the right datatype. The PredictionString should contain a float followed by four integers. If the first number is not a float, it may not work.\nb) Not using the right length. If you tried something like \"0.000 0 0 0 0 0\" it may also not work because there is one extra number.\nc) You are not doing this for the entire test set, only the 10 images that are visible. In order for it to get scored correctly, you have to make predictions for all ~1000 images.\nd) Perhaps since you are passing all zeros, it causes an error during scoring because this indicates you are predicting a box with zero area. It may be a requirement that x0 &lt; x1 and y0 &lt; y1.\n\nHope this helps.",
      "votes": null
    },
    {
      "id": "915455",
      "postDate": "07/04/2020 18:40:59",
      "content": "<p>Thanks Matthew for the clear explanations.</p>",
      "rawMarkdown": "Thanks Matthew for the clear explanations.",
      "votes": null
    },
    {
      "id": "935344",
      "postDate": "07/19/2020 09:59:52",
      "content": "<p>Great videos! Thanks.</p>",
      "rawMarkdown": "Great videos! Thanks.",
      "votes": null
    },
    {
      "id": "958176",
      "postDate": "08/04/2020 20:20:53",
      "content": "<p>this thread is really helpful thanks</p>",
      "rawMarkdown": "this thread is really helpful thanks",
      "votes": null
    },
    {
      "id": "963877",
      "postDate": "08/09/2020 11:30:19",
      "content": "<p>Hi,<br>\nWe want to obtain our fresh score based on the competition metric, so that we can add that in our manuscript.<br>\nIs it possible to do a fresh submission for public leaderboard (either through Kaggle Notebook or late submission tab)? If so, how can we do it?<br>\nThanks<br>\nRonak</p>",
      "rawMarkdown": "Hi,\nWe want to obtain our fresh score based on the competition metric, so that we can add that in our manuscript.\n\nIs it possible to do a fresh submission for public leaderboard (either through Kaggle Notebook or late submission tab)? If so, how can we do it?\n\nThanks\nRonak",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 963877,
      "author_name": "ronakg",
      "author_url": "",
      "post_date": "08/09/2020 11:30:19",
      "content": "<p>Hi,<br>\nWe want to obtain our fresh score based on the competition metric, so that we can add that in our manuscript.<br>\nIs it possible to do a fresh submission for public leaderboard (either through Kaggle Notebook or late submission tab)? If so, how can we do it?<br>\nThanks<br>\nRonak</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 834790,
      "author_name": "kanishkgoyal",
      "author_url": "",
      "post_date": "05/05/2020 19:19:44",
      "content": "<p>Hi, \n    I have just started doing basic ML stuff and this is my first time on kaggle.\nI am trying to implement a simple Neural Network. Is the training data given to us or do we have to find it ourselves and then use the add data button in the data section to use it?\nIs the input file empty given to us in the data section empty?\nThanks </p>",
      "votes": null,
      "replies": [
        {
          "id": 834921,
          "author_name": "rahatreza",
          "author_url": "",
          "post_date": "05/05/2020 22:26:34",
          "content": "<p>We have been given the training data.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 835066,
          "author_name": "sushaant",
          "author_url": "",
          "post_date": "05/06/2020 03:02:10",
          "content": "<p>Hi Kanishk,\nsuggest you to go through this.\n<a href=\"https://www.kaggle.com/alexisbcook/titanic-tutorial\">Kaggle Tutorial - Titanic Competition</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 835096,
      "author_name": "jagarwal21",
      "author_url": "",
      "post_date": "05/06/2020 03:44:12",
      "content": "<p>Hi ,</p>\n\n<p>I have just finished my basic ML course and first time in Kaggle. \nI have tried doing Titanic competition and could understand the process. It would be great if you could guide me?</p>\n\n<p>Thanks</p>",
      "votes": null,
      "replies": [
        {
          "id": 835242,
          "author_name": "bendvd",
          "author_url": "",
          "post_date": "05/06/2020 06:19:55",
          "content": "<p>Happy to have you joining the competition !</p>\n\n<p>You can start by looking at these notebooks:\n- <a href=\"https://www.kaggle.com/bendvd/global-wheat-detection-first-submission\">https://www.kaggle.com/bendvd/global-wheat-detection-first-submission</a>\n- <a href=\"https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-train\">https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-train</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 837883,
      "author_name": "ndahiya",
      "author_url": "",
      "post_date": "05/08/2020 05:37:51",
      "content": "<p>I am new to Kaggle and the submission process (or rules??) is not clear at all. The submit to competition button is disabled and mouse hover over it shows: \"You do not have a competition data source.\"\nCan someone explain what that means?</p>\n\n<p>Similar to the \"titanic tutorial\" etc linked below I am trying to fine tune a keras_retinanet model and then make predictions. I believe I have successfully created the submissions.csv file.</p>\n\n<p>All the tutorials and shared kernels seem to be using Pytorch. But I am trying to use this repo which basically provides pretrained models and framework for finetuning/inference just like Pytorch but with Keras/Tensorflow: </p>\n\n<p><a href=\"https://github.com/fizyr/keras-retinanet\">https://github.com/fizyr/keras-retinanet</a></p>\n\n<p>I would be happy to share any more details or codes (training/testing anything) etc. if anyone can help me understand what's going on.</p>\n\n<p>Thanks!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 839011,
      "author_name": "abhisekjana",
      "author_url": "",
      "post_date": "05/09/2020 02:06:25",
      "content": "<p>When I am turning off internet, the public pre-trained model is not getting downloaded and the script is failing. So that means we can't use transfer learning or there is a workaround ? This works fine with internet on. Please help.</p>",
      "votes": null,
      "replies": [
        {
          "id": 839065,
          "author_name": "rahatreza",
          "author_url": "",
          "post_date": "05/09/2020 03:30:11",
          "content": "<p>I have seen people using two different notebook instances for training and inference. Internet off criteria is set for inference part only.\nYou can check those notebook on notebooks section. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 839085,
          "author_name": "abhisekjana",
          "author_url": "",
          "post_date": "05/09/2020 04:01:16",
          "content": "<p>Thanks for your response.</p>\n\n<p>So we can share file between notebooks ? Unfortunately when I saved the version ( run and save ), I couldn't find the weights file in the output folder. I may need to dig in more.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 839089,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "05/09/2020 04:09:19",
          "content": "<p>The general strategy here is to have two notebooks: one for training (with internet) and another to perform inference (w/o internet). To get your trained weights to your inference notebook, you should upload them as a Kaggle dataset which your notebook can have access to even with no internet.</p>\n\n<p>As Rahat said, there's a few public kernels that use this approach so you should take a look to see how they import the weights.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 839099,
          "author_name": "abhisekjana",
          "author_url": "",
          "post_date": "05/09/2020 04:25:23",
          "content": "<p>Appreciate your quick response Matthew. I was able to break the scripts and submit the score.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 852047,
      "author_name": "talhakhan1992",
      "author_url": "",
      "post_date": "05/18/2020 06:18:15",
      "content": "<p>Hi\nI am trying to compete in Global Wheat Detection\nIn the sample_submission there are five entries in the predictive strings for each image id.\nI am wondering what are those values?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 863307,
      "author_name": "akshatgupta57",
      "author_url": "",
      "post_date": "05/27/2020 08:14:00",
      "content": "<p>Here's my youtube blog companion videos on the competition, helps me be motivated. Might be of help to someone else to get started : <a href=\"https://youtu.be/zxT8_lyA6fc\">https://youtu.be/zxT8_lyA6fc</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 935344,
          "author_name": "jonathanrayner",
          "author_url": "",
          "post_date": "07/19/2020 09:59:52",
          "content": "<p>Great videos! Thanks.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 904964,
      "author_name": "tejasshyam",
      "author_url": "",
      "post_date": "06/28/2020 05:52:13",
      "content": "<p>I have created my notebook with submissions, but I am unable to find the submit button, I checked the documentation and followed all the rules but I am still unable to submit, can anyone help?</p>",
      "votes": null,
      "replies": [
        {
          "id": 904977,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/28/2020 06:26:11",
          "content": "<p>Commit your notebook. Then go to the viewer and look at the latest version. Scroll down to the output section and click on the 'submission.csv' you generated. Then there should be a submit button that you should see.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 905438,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/28/2020 14:50:01",
          "content": "<p>I am unable to find this, is it possible for you to share a couple of screenshots with me?\nThis is what my csv looks like:\n<a href=\"https://imgur.com/a/QvoUGcd\">https://imgur.com/a/QvoUGcd</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 905707,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/28/2020 18:20:47",
          "content": "<p>I think it's because you didn't name it 'submission.csv'. Try again  and it should look like this with a blue submit button:\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F846065%2F3bbae72b1ec377fc24ed4407b61c12ba%2FScreenshot%20from%202020-06-28%2014-19-46.png?generation=1593368446651864&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 905751,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/28/2020 19:02:18",
          "content": "<p>Ok, I have tried changing the configuration of my file to \"Save output for this run\" and ranyt it, but I cannot find the output, anything that can be done?</p>\n\n<p>Also, sorry to bother you so much with the beginner questions.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 905771,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/28/2020 19:21:05",
          "content": "<p>Not sure what you mean by the \"Save output for this run\". Did you commit your notebook again?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 905778,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/28/2020 19:31:59",
          "content": "<p>Yes, I did commit it again with a save for version configuration\nVersion Settings\nSave outputs when creating a Quick Save</p>\n\n<p>Never save output</p>\n\n<p>Always save output</p>\n\n<p>Save output for this version\nSave &amp; Run All with an accelerator</p>\n\n<p>When I opened advanced settings on the save button, this is what I used to save output for version.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 905799,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/28/2020 20:04:08",
          "content": "<p>Not really sure what you mean. So when you are editing your notebook, you pressed \"Save Version\" and then \"Save &amp; Run All (Commit)\", right? Then you go to the viewer and look at that last version.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906018,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/29/2020 03:11:08",
          "content": "<p>Yes, something like that:\nFirst I opened the advanced settings, and clicked on save output for this version.\nThen I clicked on Save &amp; Run All.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906612,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/29/2020 12:51:14",
          "content": "<p>And you're still having trouble finding the submit?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906689,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/29/2020 13:50:05",
          "content": "<p>Yeah, I am not able to find the output file.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906697,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/29/2020 13:53:15",
          "content": "<p>Does it not generate or what? I'm sorry but I'm not sure how much further I can help. Just try to review what I have already told you</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906698,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/29/2020 13:54:07",
          "content": "<p>Ok, thanks for your help, Im just confused as to how to save the file once it opens...</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906701,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/29/2020 13:56:06",
          "content": "<p>Still I'm not sure what you mean.\n- In your notebook, within the code, you should save your predictions as 'submission.csv'.\n- Then commit.\n- Then view your latest commit in the viewer.\n- Scroll down to the output, like you showed me in the screenshot before.\n- Click on the submission.csv file.\n- And click submit.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906703,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/29/2020 13:57:20",
          "content": "<p>That was not my submission file, it was the sample submission file that they gave, I am not able to find my submission.csv in the viewer.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906712,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "06/29/2020 14:01:13",
          "content": "<p>Then perhaps the portion of code that saves your submission is not getting run? Check above in your code to see if it all got ran/if any errors came up</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 906715,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "06/29/2020 14:02:50",
          "content": "<p>Ok, thanks.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 915192,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "07/04/2020 14:32:18",
          "content": "<p>Hi, I rewrote with just printing space seperated ones to the submission file. And when I submit this, it gives an error. A zero score is understandable, but why is there an error?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 915369,
          "author_name": "matthewmasters",
          "author_url": "",
          "post_date": "07/04/2020 17:15:54",
          "content": "<p>A couple reasons that may not be working:\na) Not using the right datatype. The PredictionString should contain a float followed by four integers. If the first number is not a float, it may not work.\nb) Not using the right length. If you tried something like \"0.000 0 0 0 0 0\" it may also not work because there is one extra number.\nc) You are not doing this for the entire test set, only the 10 images that are visible. In order for it to get scored correctly, you have to make predictions for all ~1000 images.\nd) Perhaps since you are passing all zeros, it causes an error during scoring because this indicates you are predicting a box with zero area. It may be a requirement that x0 &lt; x1 and y0 &lt; y1.</p>\n\n<p>Hope this helps.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 915455,
          "author_name": "tejasshyam",
          "author_url": "",
          "post_date": "07/04/2020 18:40:59",
          "content": "<p>Thanks Matthew for the clear explanations.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 905444,
      "author_name": "syphax93",
      "author_url": "",
      "post_date": "06/28/2020 14:55:18",
      "content": "<p>Hi everyone </p>\n\n<p>Here are my two first notebook: \n<a href=\"https://www.kaggle.com/syphax93/interactive-visualization-modelling-0-803-top7\">https://www.kaggle.com/syphax93/interactive-visualization-modelling-0-803-top7</a> \n<a href=\"https://www.kaggle.com/syphax93/vapnik-s-theory-bias-variance-and-learning-curve\">https://www.kaggle.com/syphax93/vapnik-s-theory-bias-variance-and-learning-curve</a>   </p>\n\n<p>I'd like to have your opinion.Thanks</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 958176,
      "author_name": "utkarshshukla2912",
      "author_url": "",
      "post_date": "08/04/2020 20:20:53",
      "content": "<p>this thread is really helpful thanks</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "833429": "New to machine learning and data science? No question is too basic or too simple. Feel free to start your own thread, or use this thread as a place to post any first-timer clarifying questions for the Kaggle community to help you with! \n\nIf you would consider yourself a beginner but don't know where to get started, let other Kagglers help you take your first steps here!\n\nNew to Kaggle? Take a look at a few videos our very own Dr. Rachael Tatman has put together to learn a bit more about [site etiquette](https://www.youtube.com/watch?v=aIus8si_Et0), [Kaggle lingo](https://www.youtube.com/watch?v=sEJHyuWKd-s), and [how to enter a competition using Kaggle Notebooks](https://www.youtube.com/watch?&amp;v=GJBOMWpLpTQ).",
    "834790": "Hi, \n    I have just started doing basic ML stuff and this is my first time on kaggle.\nI am trying to implement a simple Neural Network. Is the training data given to us or do we have to find it ourselves and then use the add data button in the data section to use it?\nIs the input file empty given to us in the data section empty?\nThanks",
    "834921": "We have been given the training data.",
    "835066": "Hi Kanishk,\nsuggest you to go through this.\n[Kaggle Tutorial - Titanic Competition](https://www.kaggle.com/alexisbcook/titanic-tutorial)",
    "835096": "Hi ,\n\nI have just finished my basic ML course and first time in Kaggle. \nI have tried doing Titanic competition and could understand the process. It would be great if you could guide me?\n\nThanks",
    "835242": "Happy to have you joining the competition !\n\nYou can start by looking at these notebooks:\n- https://www.kaggle.com/bendvd/global-wheat-detection-first-submission\n- https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-train",
    "837883": "I am new to Kaggle and the submission process (or rules??) is not clear at all. The submit to competition button is disabled and mouse hover over it shows: \"You do not have a competition data source.\"\nCan someone explain what that means?\n\nSimilar to the \"titanic tutorial\" etc linked below I am trying to fine tune a keras_retinanet model and then make predictions. I believe I have successfully created the submissions.csv file.\n\nAll the tutorials and shared kernels seem to be using Pytorch. But I am trying to use this repo which basically provides pretrained models and framework for finetuning/inference just like Pytorch but with Keras/Tensorflow: \n\nhttps://github.com/fizyr/keras-retinanet\n\nI would be happy to share any more details or codes (training/testing anything) etc. if anyone can help me understand what's going on.\n\nThanks!",
    "839011": "When I am turning off internet, the public pre-trained model is not getting downloaded and the script is failing. So that means we can't use transfer learning or there is a workaround ? This works fine with internet on. Please help.",
    "839065": "I have seen people using two different notebook instances for training and inference. Internet off criteria is set for inference part only.\nYou can check those notebook on notebooks section.",
    "839085": "Thanks for your response.\n\nSo we can share file between notebooks ? Unfortunately when I saved the version ( run and save ), I couldn't find the weights file in the output folder. I may need to dig in more.",
    "839089": "The general strategy here is to have two notebooks: one for training (with internet) and another to perform inference (w/o internet). To get your trained weights to your inference notebook, you should upload them as a Kaggle dataset which your notebook can have access to even with no internet.\n\nAs Rahat said, there's a few public kernels that use this approach so you should take a look to see how they import the weights.",
    "839099": "Appreciate your quick response Matthew. I was able to break the scripts and submit the score.",
    "852047": "Hi\nI am trying to compete in Global Wheat Detection\nIn the sample_submission there are five entries in the predictive strings for each image id.\nI am wondering what are those values?",
    "863307": "Here's my youtube blog companion videos on the competition, helps me be motivated. Might be of help to someone else to get started : https://youtu.be/zxT8_lyA6fc",
    "904964": "I have created my notebook with submissions, but I am unable to find the submit button, I checked the documentation and followed all the rules but I am still unable to submit, can anyone help?",
    "904977": "Commit your notebook. Then go to the viewer and look at the latest version. Scroll down to the output section and click on the 'submission.csv' you generated. Then there should be a submit button that you should see.",
    "905438": "I am unable to find this, is it possible for you to share a couple of screenshots with me?\nThis is what my csv looks like:\nhttps://imgur.com/a/QvoUGcd",
    "905444": "Hi everyone \n\nHere are my two first notebook: \nhttps://www.kaggle.com/syphax93/interactive-visualization-modelling-0-803-top7 \nhttps://www.kaggle.com/syphax93/vapnik-s-theory-bias-variance-and-learning-curve   \n\nI'd like to have your opinion.Thanks",
    "905707": "I think it's because you didn't name it 'submission.csv'. Try again  and it should look like this with a blue submit button:\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F846065%2F3bbae72b1ec377fc24ed4407b61c12ba%2FScreenshot%20from%202020-06-28%2014-19-46.png?generation=1593368446651864&amp;alt=media)",
    "905751": "Ok, I have tried changing the configuration of my file to \"Save output for this run\" and ranyt it, but I cannot find the output, anything that can be done?\n\nAlso, sorry to bother you so much with the beginner questions.",
    "905771": "Not sure what you mean by the \"Save output for this run\". Did you commit your notebook again?",
    "905778": "Yes, I did commit it again with a save for version configuration\nVersion Settings\nSave outputs when creating a Quick Save\n\n\nNever save output\n\nAlways save output\n\nSave output for this version\nSave &amp; Run All with an accelerator\n\nWhen I opened advanced settings on the save button, this is what I used to save output for version.",
    "905799": "Not really sure what you mean. So when you are editing your notebook, you pressed \"Save Version\" and then \"Save &amp; Run All (Commit)\", right? Then you go to the viewer and look at that last version.",
    "906018": "Yes, something like that:\nFirst I opened the advanced settings, and clicked on save output for this version.\nThen I clicked on Save &amp; Run All.",
    "906612": "And you're still having trouble finding the submit?",
    "906689": "Yeah, I am not able to find the output file.",
    "906697": "Does it not generate or what? I'm sorry but I'm not sure how much further I can help. Just try to review what I have already told you",
    "906698": "Ok, thanks for your help, Im just confused as to how to save the file once it opens...",
    "906701": "Still I'm not sure what you mean.\n- In your notebook, within the code, you should save your predictions as 'submission.csv'.\n- Then commit.\n- Then view your latest commit in the viewer.\n- Scroll down to the output, like you showed me in the screenshot before.\n- Click on the submission.csv file.\n- And click submit.",
    "906703": "That was not my submission file, it was the sample submission file that they gave, I am not able to find my submission.csv in the viewer.",
    "906712": "Then perhaps the portion of code that saves your submission is not getting run? Check above in your code to see if it all got ran/if any errors came up",
    "906715": "Ok, thanks.",
    "915192": "Hi, I rewrote with just printing space seperated ones to the submission file. And when I submit this, it gives an error. A zero score is understandable, but why is there an error?",
    "915369": "A couple reasons that may not be working:\na) Not using the right datatype. The PredictionString should contain a float followed by four integers. If the first number is not a float, it may not work.\nb) Not using the right length. If you tried something like \"0.000 0 0 0 0 0\" it may also not work because there is one extra number.\nc) You are not doing this for the entire test set, only the 10 images that are visible. In order for it to get scored correctly, you have to make predictions for all ~1000 images.\nd) Perhaps since you are passing all zeros, it causes an error during scoring because this indicates you are predicting a box with zero area. It may be a requirement that x0 &lt; x1 and y0 &lt; y1.\n\nHope this helps.",
    "915455": "Thanks Matthew for the clear explanations.",
    "935344": "Great videos! Thanks.",
    "958176": "this thread is really helpful thanks",
    "963877": "Hi,\nWe want to obtain our fresh score based on the competition metric, so that we can add that in our manuscript.\n\nIs it possible to do a fresh submission for public leaderboard (either through Kaggle Notebook or late submission tab)? If so, how can we do it?\n\nThanks\nRonak"
  },
  "source": "meta"
}