{
  "id": 252022,
  "title": "How to fix error about upload dataset ? ",
  "url": "/competitions/siim-covid19-detection/discussion/252022",
  "author_name": "",
  "post_date": "2021-07-10T06:25:31.876020600Z",
  "votes": 2,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hi,</p>\n<p>I try to upload my pre-trained models in kaggle kernel. but, I'am facing error message \"You must resolve errors before creating your dataset\". </p>\n<p>If anyone know how to fix this error, please comment.</p>\n<p>Thanks. </p>",
  "messages": [
    {
      "id": "1382676",
      "postDate": "07/10/2021 06:25:31",
      "content": "<p>Hi,</p>\n<p>I try to upload my pre-trained models in kaggle kernel. but, I'am facing error message \"You must resolve errors before creating your dataset\". </p>\n<p>If anyone know how to fix this error, please comment.</p>\n<p>Thanks. </p>",
      "rawMarkdown": "Hi,\n\nI try to upload my pre-trained models in kaggle kernel. but, I'am facing error message \"You must resolve errors before creating your dataset\". \n\nIf anyone know how to fix this error, please comment.\n\nThanks.",
      "votes": null
    },
    {
      "id": "1382692",
      "postDate": "07/10/2021 06:54:41",
      "content": "<p>Hi. In my case it happened after I tried to upload directory with a lot of images (without zipping it). </p>\n<p>You can try to upload your dataset via kaggle CLI (don't use underscore symbol in dataset name and slug - it will give you 400 Bad Request error).</p>\n<p>For me this website error was fixed by itself couple days after.</p>",
      "rawMarkdown": "Hi. In my case it happened after I tried to upload directory with a lot of images (without zipping it). \n\nYou can try to upload your dataset via kaggle CLI (don't use underscore symbol in dataset name and slug - it will give you 400 Bad Request error).\n\nFor me this website error was fixed by itself couple days after.",
      "votes": null
    },
    {
      "id": "1382764",
      "postDate": "07/10/2021 08:04:40",
      "content": "<p>Um.. I remember that I tried to upload directory with a lot of images in yesterday.</p>\n<p>That was announced me error that limit 1,000 files.</p>\n<p>If you fixed just couple days after, I will wait too. </p>\n<p>Thanks !</p>",
      "rawMarkdown": "Um.. I remember that I tried to upload directory with a lot of images in yesterday.\n\nThat was announced me error that limit 1,000 files.\n\nIf you fixed just couple days after, I will wait too. \n\nThanks !",
      "votes": null
    },
    {
      "id": "1384827",
      "postDate": "07/12/2021 08:46:56",
      "content": "<p>Hi, Valery Nikiforov</p>\n<p>If you know about local file upload method using kaggle CLI in kaggle kernel, please let me know. </p>\n<p>I'm searching about that but, don't find anything.</p>\n<p>Thanks.</p>",
      "rawMarkdown": "Hi, Valery Nikiforov\n\nIf you know about local file upload method using kaggle CLI in kaggle kernel, please let me know. \n\nI'm searching about that but, don't find anything.\n\nThanks.",
      "votes": null
    },
    {
      "id": "1385221",
      "postDate": "07/12/2021 14:26:57",
      "content": "<p>Hi, <br>\nI use my local terminal. You need to install kaggle API via pip:<br>\npip install kaggle</p>\n<p>Next step is authentication (I simply used env variables in terminal, but you can use kaggle.json):<br>\nexport KAGGLE_USERNAME=username<br>\nexport KAGGLE_KEY=somekey</p>\n<p>After that (or if you have already installed API):<br>\nInitialization:<br>\nkaggle datasets init -p </p>\n<p>Modify dataset id and title in metadata (file will be created after init):<br>\nnano dataset-metadata.json</p>\n<p>Uploading:<br>\nkaggle datasets create -p </p>\n<p>New dataset will be added at your kaggle dataset storage. Hope it will be helpful!</p>",
      "rawMarkdown": "Hi, \nI use my local terminal. You need to install kaggle API via pip:\npip install kaggle\n\nNext step is authentication (I simply used env variables in terminal, but you can use kaggle.json):\nexport KAGGLE_USERNAME=username\nexport KAGGLE_KEY=somekey\n\nAfter that (or if you have already installed API):\nInitialization:\nkaggle datasets init -p <path to dataset directory>\n\nModify dataset id and title in metadata (file will be created after init):\nnano <path to dataset directory>dataset-metadata.json\n\nUploading:\nkaggle datasets create -p <path to dataset directory>\n\nNew dataset will be added at your kaggle dataset storage. Hope it will be helpful!",
      "votes": null
    },
    {
      "id": "1385869",
      "postDate": "07/13/2021 04:46:27",
      "content": "<p>Thanks a lot !<br>\nYour method works very well. And I'am waiting for reply about upload error message from kaggle support team. If fixed that, I will share you.</p>",
      "rawMarkdown": "Thanks a lot !\nYour method works very well. And I'am waiting for reply about upload error message from kaggle support team. If fixed that, I will share you.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1382692,
      "author_name": "nikiforov98",
      "author_url": "",
      "post_date": "07/10/2021 06:54:41",
      "content": "<p>Hi. In my case it happened after I tried to upload directory with a lot of images (without zipping it). </p>\n<p>You can try to upload your dataset via kaggle CLI (don't use underscore symbol in dataset name and slug - it will give you 400 Bad Request error).</p>\n<p>For me this website error was fixed by itself couple days after.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1382764,
          "author_name": "seongwook93",
          "author_url": "",
          "post_date": "07/10/2021 08:04:40",
          "content": "<p>Um.. I remember that I tried to upload directory with a lot of images in yesterday.</p>\n<p>That was announced me error that limit 1,000 files.</p>\n<p>If you fixed just couple days after, I will wait too. </p>\n<p>Thanks !</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1384827,
          "author_name": "seongwook93",
          "author_url": "",
          "post_date": "07/12/2021 08:46:56",
          "content": "<p>Hi, Valery Nikiforov</p>\n<p>If you know about local file upload method using kaggle CLI in kaggle kernel, please let me know. </p>\n<p>I'm searching about that but, don't find anything.</p>\n<p>Thanks.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1385221,
          "author_name": "nikiforov98",
          "author_url": "",
          "post_date": "07/12/2021 14:26:57",
          "content": "<p>Hi, <br>\nI use my local terminal. You need to install kaggle API via pip:<br>\npip install kaggle</p>\n<p>Next step is authentication (I simply used env variables in terminal, but you can use kaggle.json):<br>\nexport KAGGLE_USERNAME=username<br>\nexport KAGGLE_KEY=somekey</p>\n<p>After that (or if you have already installed API):<br>\nInitialization:<br>\nkaggle datasets init -p </p>\n<p>Modify dataset id and title in metadata (file will be created after init):<br>\nnano dataset-metadata.json</p>\n<p>Uploading:<br>\nkaggle datasets create -p </p>\n<p>New dataset will be added at your kaggle dataset storage. Hope it will be helpful!</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1385869,
          "author_name": "seongwook93",
          "author_url": "",
          "post_date": "07/13/2021 04:46:27",
          "content": "<p>Thanks a lot !<br>\nYour method works very well. And I'am waiting for reply about upload error message from kaggle support team. If fixed that, I will share you.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1382676": "Hi,\n\nI try to upload my pre-trained models in kaggle kernel. but, I'am facing error message \"You must resolve errors before creating your dataset\". \n\nIf anyone know how to fix this error, please comment.\n\nThanks.",
    "1382692": "Hi. In my case it happened after I tried to upload directory with a lot of images (without zipping it). \n\nYou can try to upload your dataset via kaggle CLI (don't use underscore symbol in dataset name and slug - it will give you 400 Bad Request error).\n\nFor me this website error was fixed by itself couple days after.",
    "1382764": "Um.. I remember that I tried to upload directory with a lot of images in yesterday.\n\nThat was announced me error that limit 1,000 files.\n\nIf you fixed just couple days after, I will wait too. \n\nThanks !",
    "1384827": "Hi, Valery Nikiforov\n\nIf you know about local file upload method using kaggle CLI in kaggle kernel, please let me know. \n\nI'm searching about that but, don't find anything.\n\nThanks.",
    "1385221": "Hi, \nI use my local terminal. You need to install kaggle API via pip:\npip install kaggle\n\nNext step is authentication (I simply used env variables in terminal, but you can use kaggle.json):\nexport KAGGLE_USERNAME=username\nexport KAGGLE_KEY=somekey\n\nAfter that (or if you have already installed API):\nInitialization:\nkaggle datasets init -p <path to dataset directory>\n\nModify dataset id and title in metadata (file will be created after init):\nnano <path to dataset directory>dataset-metadata.json\n\nUploading:\nkaggle datasets create -p <path to dataset directory>\n\nNew dataset will be added at your kaggle dataset storage. Hope it will be helpful!",
    "1385869": "Thanks a lot !\nYour method works very well. And I'am waiting for reply about upload error message from kaggle support team. If fixed that, I will share you."
  },
  "source": "meta"
}