{
  "id": 143978,
  "title": "Unable to submit",
  "url": "/competitions/imet-2020-fgvc7/discussion/143978",
  "author_name": "HangWoo",
  "post_date": "2020-04-17T03:19:14.728000",
  "votes": 0,
  "comment_count": 9,
  "views": 0,
  "content": "<p>I tried to submit my csv file through the kernal provided by the competieon. My code could run sucessfully in the kernal, and the output seemed correct, too. But every time I click the save version button after running, I came across the error: \"An error occurred while committing kernel: Function expected\".\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4794722%2F944ff5a4b5b00b6e0455064f2c75c4e9%2Fsubmit%20error.png?generation=1587093541602306&amp;alt=media\" alt=\"\"></p>\n\n<p>Does anybody know what's wrong here? What's the right way to submit a csv result?</p>",
  "messages": [
    {
      "id": 813797,
      "postDate": "2020-04-20T02:37:28.590Z",
      "content": "<p><a href=\"/hangwoo\">@hangwoo</a> did you solve this? I have a <a href=\"https://www.kaggle.com/c/imet-2020-fgvc7/discussion/144647\">similar</a> if not same error and I can't figure out why.</p>",
      "rawMarkdown": "@hangwoo did you solve this? I have a [similar](https://www.kaggle.com/c/imet-2020-fgvc7/discussion/144647) if not same error and I can't figure out why.",
      "replies": [
        {
          "id": 814015,
          "postDate": "2020-04-20T08:22:01.623Z",
          "content": "<p>I submitted a csv file which is the result for only the public test set before, and that's why I came across this error. To solve this problem, I submit the inference code and upload the trained weights instead, so that the inference on the private test set can be done. And that works for me.\nYou can refer to this example: https://www.kaggle.com/yasufuminakama/imet-2020-pytorch-resnet18-inference</p>",
          "rawMarkdown": "I submitted a csv file which is the result for only the public test set before, and that's why I came across this error. To solve this problem, I submit the inference code and upload the trained weights instead, so that the inference on the private test set can be done. And that works for me.\nYou can refer to this example: [https://www.kaggle.com/yasufuminakama/imet-2020-pytorch-resnet18-inference]()\n ",
          "votes": 1
        },
        {
          "id": 815181,
          "postDate": "2020-04-21T10:23:39.037Z",
          "content": "<p>thanks... that solved it :)</p>",
          "rawMarkdown": "thanks... that solved it :)"
        }
      ]
    },
    {
      "id": 811350,
      "postDate": "2020-04-17T20:04:52.847Z",
      "content": "<p>This is a Code Competition. There are public test &amp; private test.\nSo when you submit your kernel, private test submission is running backend.\nBut your submission kernel is only for public test submission. \nSo your private test submission file is now your public test submission file and doesn't match the private test scoring.\nI think \"Submission Scoring Error\" comes from here.</p>",
      "rawMarkdown": "This is a Code Competition. There are public test &amp; private test.\nSo when you submit your kernel, private test submission is running backend.\nBut your submission kernel is only for public test submission. \nSo your private test submission file is now your public test submission file and doesn't match the private test scoring.\nI think \"Submission Scoring Error\" comes from here.",
      "replies": [
        {
          "id": 811637,
          "postDate": "2020-04-18T06:33:23.227Z",
          "content": "<p>Oh, I see. Many thanks.</p>",
          "rawMarkdown": "Oh, I see. Many thanks."
        }
      ]
    },
    {
      "id": 811014,
      "postDate": "2020-04-17T14:18:41.697Z",
      "content": "<p>Hi <a href=\"/hangwoo\">@hangwoo</a> - sorry you're having trouble.  I'm not able to reproduce the issue.  Are you still having this problem?  If so, can you share any more information about reproducing the issue?  Does this happen for all your kernels?  Thanks!</p>",
      "rawMarkdown": "Hi @hangwoo - sorry you're having trouble.  I'm not able to reproduce the issue.  Are you still having this problem?  If so, can you share any more information about reproducing the issue?  Does this happen for all your kernels?  Thanks!",
      "replies": [
        {
          "id": 811104,
          "postDate": "2020-04-17T15:42:44.383Z",
          "content": "<p>Yes, this happens to all my kernels. \nI've also tried to save version before running the code in the kernel, and this time I saved it sucessfully. So I go to the Viewer and click the \"Submit to Competition\" button to submit the output file, and then I found a record in \"My Submissions\", but its Status is \"Submission Scoring Error\".  The kernel is \"kernel25a5cf235e\", I've made it public.</p>",
          "rawMarkdown": "Yes, this happens to all my kernels. \nI've also tried to save version before running the code in the kernel, and this time I saved it sucessfully. So I go to the Viewer and click the \"Submit to Competition\" button to submit the output file, and then I found a record in \"My Submissions\", but its Status is \"Submission Scoring Error\".  The kernel is \"kernel25a5cf235e\", I've made it public."
        }
      ]
    },
    {
      "id": 810509,
      "postDate": "2020-04-17T03:19:14.730Z",
      "content": "<p>I tried to submit my csv file through the kernal provided by the competieon. My code could run sucessfully in the kernal, and the output seemed correct, too. But every time I click the save version button after running, I came across the error: \"An error occurred while committing kernel: Function expected\".\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4794722%2F944ff5a4b5b00b6e0455064f2c75c4e9%2Fsubmit%20error.png?generation=1587093541602306&amp;alt=media\" alt=\"\"></p>\n\n<p>Does anybody know what's wrong here? What's the right way to submit a csv result?</p>",
      "rawMarkdown": "I tried to submit my csv file through the kernal provided by the competieon. My code could run sucessfully in the kernal, and the output seemed correct, too. But every time I click the save version button after running, I came across the error: \"An error occurred while committing kernel: Function expected\".\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4794722%2F944ff5a4b5b00b6e0455064f2c75c4e9%2Fsubmit%20error.png?generation=1587093541602306&amp;alt=media)\n\n Does anybody know what's wrong here? What's the right way to submit a csv result?"
    },
    {
      "id": 810585,
      "postDate": "2020-04-17T05:32:40.993Z",
      "rawMarkdown": "",
      "isDeleted": true,
      "replies": [
        {
          "id": 810634,
          "postDate": "2020-04-17T06:25:12.787Z",
          "content": "<p>Thanks for your reply. But the iMet competition is a Kernals-only competition, and all submissions must be made from a Kaggle Kernal.  As a result, there's no way to upload the csv file directly. Instead, I have to save a  kernal version and use its output to submit.\nI've also read the tutotial, but still find no solutions for this problem.</p>",
          "rawMarkdown": "Thanks for your reply. But the iMet competition is a Kernals-only competition, and all submissions must be made from a Kaggle Kernal.  As a result, there's no way to upload the csv file directly. Instead, I have to save a  kernal version and use its output to submit.\nI've also read the tutotial, but still find no solutions for this problem.",
          "votes": 1
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 813797,
      "author_name": "kevad",
      "author_url": "",
      "post_date": "2020-04-20T02:37:28.590000",
      "content": "<p><a href=\"/hangwoo\">@hangwoo</a> did you solve this? I have a <a href=\"https://www.kaggle.com/c/imet-2020-fgvc7/discussion/144647\">similar</a> if not same error and I can't figure out why.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 814015,
          "author_name": "HangWoo",
          "author_url": "",
          "post_date": "2020-04-20T08:22:01.623000",
          "content": "<p>I submitted a csv file which is the result for only the public test set before, and that's why I came across this error. To solve this problem, I submit the inference code and upload the trained weights instead, so that the inference on the private test set can be done. And that works for me.\nYou can refer to this example: https://www.kaggle.com/yasufuminakama/imet-2020-pytorch-resnet18-inference</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 815181,
          "author_name": "kevad",
          "author_url": "",
          "post_date": "2020-04-21T10:23:39.037000",
          "content": "<p>thanks... that solved it :)</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 811350,
      "author_name": "Y.Nakama",
      "author_url": "",
      "post_date": "2020-04-17T20:04:52.847000",
      "content": "<p>This is a Code Competition. There are public test &amp; private test.\nSo when you submit your kernel, private test submission is running backend.\nBut your submission kernel is only for public test submission. \nSo your private test submission file is now your public test submission file and doesn't match the private test scoring.\nI think \"Submission Scoring Error\" comes from here.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 811637,
          "author_name": "HangWoo",
          "author_url": "",
          "post_date": "2020-04-18T06:33:23.227000",
          "content": "<p>Oh, I see. Many thanks.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 811014,
      "author_name": "Jim Plotts",
      "author_url": "",
      "post_date": "2020-04-17T14:18:41.697000",
      "content": "<p>Hi <a href=\"/hangwoo\">@hangwoo</a> - sorry you're having trouble.  I'm not able to reproduce the issue.  Are you still having this problem?  If so, can you share any more information about reproducing the issue?  Does this happen for all your kernels?  Thanks!</p>",
      "votes": 0,
      "replies": [
        {
          "id": 811104,
          "author_name": "HangWoo",
          "author_url": "",
          "post_date": "2020-04-17T15:42:44.383000",
          "content": "<p>Yes, this happens to all my kernels. \nI've also tried to save version before running the code in the kernel, and this time I saved it sucessfully. So I go to the Viewer and click the \"Submit to Competition\" button to submit the output file, and then I found a record in \"My Submissions\", but its Status is \"Submission Scoring Error\".  The kernel is \"kernel25a5cf235e\", I've made it public.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 810585,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-04-17T05:32:40.993000",
      "content": "",
      "votes": 0,
      "replies": [
        {
          "id": 810634,
          "author_name": "HangWoo",
          "author_url": "",
          "post_date": "2020-04-17T06:25:12.787000",
          "content": "<p>Thanks for your reply. But the iMet competition is a Kernals-only competition, and all submissions must be made from a Kaggle Kernal.  As a result, there's no way to upload the csv file directly. Instead, I have to save a  kernal version and use its output to submit.\nI've also read the tutotial, but still find no solutions for this problem.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "813797": "@hangwoo did you solve this? I have a [similar](https://www.kaggle.com/c/imet-2020-fgvc7/discussion/144647) if not same error and I can't figure out why.",
    "811350": "This is a Code Competition. There are public test &amp; private test.\nSo when you submit your kernel, private test submission is running backend.\nBut your submission kernel is only for public test submission. \nSo your private test submission file is now your public test submission file and doesn't match the private test scoring.\nI think \"Submission Scoring Error\" comes from here.",
    "811014": "Hi @hangwoo - sorry you're having trouble.  I'm not able to reproduce the issue.  Are you still having this problem?  If so, can you share any more information about reproducing the issue?  Does this happen for all your kernels?  Thanks!",
    "810509": "I tried to submit my csv file through the kernal provided by the competieon. My code could run sucessfully in the kernal, and the output seemed correct, too. But every time I click the save version button after running, I came across the error: \"An error occurred while committing kernel: Function expected\".\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4794722%2F944ff5a4b5b00b6e0455064f2c75c4e9%2Fsubmit%20error.png?generation=1587093541602306&amp;alt=media)\n\n Does anybody know what's wrong here? What's the right way to submit a csv result?",
    "810585": ""
  }
}