{
  "id": 493972,
  "title": "Problem with the number of rows in the submission.csv",
  "url": "/competitions/birdclef-2024/discussion/493972",
  "author_name": "",
  "post_date": "2024-04-15T15:01:17.112595Z",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hi,<br>\nI have submitted my notebook multiple times, but it continues to fail. It appears that the number of rows must match, although this requirement (shape of the submission file) has not been explicitly stated. Note, not all audio files have a length of 4 minutes. For instance:</p>\n<p>audio_data, sample_rate = librosa.load('/kaggle/input/birdclef-2024/unlabeled_soundscapes/1005741050.ogg')<br>\naudio_duration = librosa.get_duration(y=audio_data, sr=sample_rate)<br>\nprint(audio_duration)  # Output: 39.24961451247165</p>\n<p>How do you propose addressing such audio? Should I pad them or only consider the first 7 chunks?<br>\nBelow are the audios shorter than 4 minutes:</p>\n<p>Audios    # chunks<br>\n1005741050    7<br>\n1097804416    11<br>\n1110804277    15<br>\n1124920062    9<br>\n1138172620    7<br>\n1139032563    6<br>\n1153071930    29<br>\n1161623376    6<br>\n1167345793    11<br>\n1172450940    7<br>\n1185366972    7<br>\n1234011723    7<br>\n1236998966    7<br>\n1297439184    8<br>\n131862499    23<br>\n1322594419    8<br>\n133070011    11<br>\n1336735839    11<br>\n1358509220    6<br>\n1379663308    10<br>\n1387430080    7<br>\n1388992186    5<br>\n1401379769    31<br>\n1415314334    8<br>\n1438117667    13<br>\n1443490027    5<br>\n1448440588    6<br>\n1455355220    5<br>\n1477561954    7<br>\n1481040192    9<br>\n1485429595    19<br>\n1532956011    16<br>\n1565837591    9<br>\n1588565696    10<br>\n159694475    10<br>\n1622919711    7<br>\n1627554722    7<br>\n1639610082    30<br>\n164640676    8<br>\n1661350239    7<br>\n170335369    9<br>\n1771869911    6<br>\n177339080    7<br>\n1776693738    6<br>\n1786701443    10<br>\n1794874623    6<br>\n1807874208    9<br>\n1824105891    34<br>\n1914930973    6<br>\n1923452762    6<br>\n1931871270    12<br>\n1935185429    9<br>\n1935841506    8<br>\n1944962918    7<br>\n196721628    7<br>\n2034798682    6<br>\n2071069225    8<br>\n286921216    7<br>\n321570096    5<br>\n335109416    21<br>\n361566520    5<br>\n363688163    8<br>\n447329997    9<br>\n486082515    16<br>\n488480987    17<br>\n565350837    6<br>\n585561319    7<br>\n601981562    13<br>\n607492618    11<br>\n629690658    5<br>\n653186884    8<br>\n661179880    6<br>\n728170222    9<br>\n746998302    9<br>\n748970099    37<br>\n75437456    9<br>\n760902659    7<br>\n784009014    10<br>\n811909660    9<br>\n845270488    17<br>\n849703536    8<br>\n873334531    11<br>\n876155123    12<br>\n888009192    8<br>\n905760071    4<br>\n964375696    7<br>\n977042683    12<br>\n987190784    6<br>\n99662950    7</p>",
  "messages": [
    {
      "id": "2753549",
      "postDate": "04/15/2024 15:01:17",
      "content": "<p>Hi,<br>\nI have submitted my notebook multiple times, but it continues to fail. It appears that the number of rows must match, although this requirement (shape of the submission file) has not been explicitly stated. Note, not all audio files have a length of 4 minutes. For instance:</p>\n<p>audio_data, sample_rate = librosa.load('/kaggle/input/birdclef-2024/unlabeled_soundscapes/1005741050.ogg')<br>\naudio_duration = librosa.get_duration(y=audio_data, sr=sample_rate)<br>\nprint(audio_duration)  # Output: 39.24961451247165</p>\n<p>How do you propose addressing such audio? Should I pad them or only consider the first 7 chunks?<br>\nBelow are the audios shorter than 4 minutes:</p>\n<p>Audios    # chunks<br>\n1005741050    7<br>\n1097804416    11<br>\n1110804277    15<br>\n1124920062    9<br>\n1138172620    7<br>\n1139032563    6<br>\n1153071930    29<br>\n1161623376    6<br>\n1167345793    11<br>\n1172450940    7<br>\n1185366972    7<br>\n1234011723    7<br>\n1236998966    7<br>\n1297439184    8<br>\n131862499    23<br>\n1322594419    8<br>\n133070011    11<br>\n1336735839    11<br>\n1358509220    6<br>\n1379663308    10<br>\n1387430080    7<br>\n1388992186    5<br>\n1401379769    31<br>\n1415314334    8<br>\n1438117667    13<br>\n1443490027    5<br>\n1448440588    6<br>\n1455355220    5<br>\n1477561954    7<br>\n1481040192    9<br>\n1485429595    19<br>\n1532956011    16<br>\n1565837591    9<br>\n1588565696    10<br>\n159694475    10<br>\n1622919711    7<br>\n1627554722    7<br>\n1639610082    30<br>\n164640676    8<br>\n1661350239    7<br>\n170335369    9<br>\n1771869911    6<br>\n177339080    7<br>\n1776693738    6<br>\n1786701443    10<br>\n1794874623    6<br>\n1807874208    9<br>\n1824105891    34<br>\n1914930973    6<br>\n1923452762    6<br>\n1931871270    12<br>\n1935185429    9<br>\n1935841506    8<br>\n1944962918    7<br>\n196721628    7<br>\n2034798682    6<br>\n2071069225    8<br>\n286921216    7<br>\n321570096    5<br>\n335109416    21<br>\n361566520    5<br>\n363688163    8<br>\n447329997    9<br>\n486082515    16<br>\n488480987    17<br>\n565350837    6<br>\n585561319    7<br>\n601981562    13<br>\n607492618    11<br>\n629690658    5<br>\n653186884    8<br>\n661179880    6<br>\n728170222    9<br>\n746998302    9<br>\n748970099    37<br>\n75437456    9<br>\n760902659    7<br>\n784009014    10<br>\n811909660    9<br>\n845270488    17<br>\n849703536    8<br>\n873334531    11<br>\n876155123    12<br>\n888009192    8<br>\n905760071    4<br>\n964375696    7<br>\n977042683    12<br>\n987190784    6<br>\n99662950    7</p>",
      "rawMarkdown": "Hi,\nI have submitted my notebook multiple times, but it continues to fail. It appears that the number of rows must match, although this requirement (shape of the submission file) has not been explicitly stated. Note, not all audio files have a length of 4 minutes. For instance:\n\naudio_data, sample_rate = librosa.load('/kaggle/input/birdclef-2024/unlabeled_soundscapes/1005741050.ogg')\naudio_duration = librosa.get_duration(y=audio_data, sr=sample_rate)\nprint(audio_duration)  # Output: 39.24961451247165\n\nHow do you propose addressing such audio? Should I pad them or only consider the first 7 chunks?\nBelow are the audios shorter than 4 minutes:\n\nAudios\t# chunks\n1005741050\t7\n1097804416\t11\n1110804277\t15\n1124920062\t9\n1138172620\t7\n1139032563\t6\n1153071930\t29\n1161623376\t6\n1167345793\t11\n1172450940\t7\n1185366972\t7\n1234011723\t7\n1236998966\t7\n1297439184\t8\n131862499\t23\n1322594419\t8\n133070011\t11\n1336735839\t11\n1358509220\t6\n1379663308\t10\n1387430080\t7\n1388992186\t5\n1401379769\t31\n1415314334\t8\n1438117667\t13\n1443490027\t5\n1448440588\t6\n1455355220\t5\n1477561954\t7\n1481040192\t9\n1485429595\t19\n1532956011\t16\n1565837591\t9\n1588565696\t10\n159694475\t10\n1622919711\t7\n1627554722\t7\n1639610082\t30\n164640676\t8\n1661350239\t7\n170335369\t9\n1771869911\t6\n177339080\t7\n1776693738\t6\n1786701443\t10\n1794874623\t6\n1807874208\t9\n1824105891\t34\n1914930973\t6\n1923452762\t6\n1931871270\t12\n1935185429\t9\n1935841506\t8\n1944962918\t7\n196721628\t7\n2034798682\t6\n2071069225\t8\n286921216\t7\n321570096\t5\n335109416\t21\n361566520\t5\n363688163\t8\n447329997\t9\n486082515\t16\n488480987\t17\n565350837\t6\n585561319\t7\n601981562\t13\n607492618\t11\n629690658\t5\n653186884\t8\n661179880\t6\n728170222\t9\n746998302\t9\n748970099\t37\n75437456\t9\n760902659\t7\n784009014\t10\n811909660\t9\n845270488\t17\n849703536\t8\n873334531\t11\n876155123\t12\n888009192\t8\n905760071\t4\n964375696\t7\n977042683\t12\n987190784\t6\n99662950\t7",
      "votes": null
    },
    {
      "id": "2753965",
      "postDate": "04/15/2024 18:26:00",
      "content": "<p>I have the same doubt as you<br>\n<a href=\"https://www.kaggle.com/competitions/birdclef-2024/discussion/494027\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2024/discussion/494027</a></p>",
      "rawMarkdown": "I have the same doubt as you\nhttps://www.kaggle.com/competitions/birdclef-2024/discussion/494027",
      "votes": null
    },
    {
      "id": "2753988",
      "postDate": "04/15/2024 18:37:55",
      "content": "<p>Hello! All test files are 4 minutes.</p>\n<p>We strongly suggest starting form a working submission example, such as this one, instead of coding the submission logic from scratch. It's (hopefully) the least interesting part of the problem!<br>\n<a href=\"https://www.kaggle.com/code/myso1987/how-to-submit-to-birdclef-2024\" target=\"_blank\">https://www.kaggle.com/code/myso1987/how-to-submit-to-birdclef-2024</a></p>",
      "rawMarkdown": "Hello! All test files are 4 minutes.\n\nWe strongly suggest starting form a working submission example, such as this one, instead of coding the submission logic from scratch. It's (hopefully) the least interesting part of the problem!\nhttps://www.kaggle.com/code/myso1987/how-to-submit-to-birdclef-2024",
      "votes": null
    },
    {
      "id": "2754021",
      "postDate": "04/15/2024 18:54:14",
      "content": "<p>I found the solution. I needed to set my testing set to be test_soundscapes.</p>",
      "rawMarkdown": "I found the solution. I needed to set my testing set to be test_soundscapes.",
      "votes": null
    },
    {
      "id": "2754025",
      "postDate": "04/15/2024 18:57:11",
      "content": "<p>All files are 4 minutes. You need to set the testing set to \"/kaggle/input/birdclef-2024/test_soundscapes\".</p>\n<p><a href=\"https://www.kaggle.com/competitions/birdclef-2024/data\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2024/data</a></p>",
      "rawMarkdown": "All files are 4 minutes. You need to set the testing set to \"/kaggle/input/birdclef-2024/test_soundscapes\".\n\nhttps://www.kaggle.com/competitions/birdclef-2024/data",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2753965,
      "author_name": "sumaniitm",
      "author_url": "",
      "post_date": "04/15/2024 18:26:00",
      "content": "<p>I have the same doubt as you<br>\n<a href=\"https://www.kaggle.com/competitions/birdclef-2024/discussion/494027\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2024/discussion/494027</a></p>",
      "votes": null,
      "replies": [
        {
          "id": 2754025,
          "author_name": "ishmaelesmaeilrezaei",
          "author_url": "",
          "post_date": "04/15/2024 18:57:11",
          "content": "<p>All files are 4 minutes. You need to set the testing set to \"/kaggle/input/birdclef-2024/test_soundscapes\".</p>\n<p><a href=\"https://www.kaggle.com/competitions/birdclef-2024/data\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2024/data</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2753988,
      "author_name": "tomdenton",
      "author_url": "",
      "post_date": "04/15/2024 18:37:55",
      "content": "<p>Hello! All test files are 4 minutes.</p>\n<p>We strongly suggest starting form a working submission example, such as this one, instead of coding the submission logic from scratch. It's (hopefully) the least interesting part of the problem!<br>\n<a href=\"https://www.kaggle.com/code/myso1987/how-to-submit-to-birdclef-2024\" target=\"_blank\">https://www.kaggle.com/code/myso1987/how-to-submit-to-birdclef-2024</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2754021,
      "author_name": "ishmaelesmaeilrezaei",
      "author_url": "",
      "post_date": "04/15/2024 18:54:14",
      "content": "<p>I found the solution. I needed to set my testing set to be test_soundscapes.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2753549": "Hi,\nI have submitted my notebook multiple times, but it continues to fail. It appears that the number of rows must match, although this requirement (shape of the submission file) has not been explicitly stated. Note, not all audio files have a length of 4 minutes. For instance:\n\naudio_data, sample_rate = librosa.load('/kaggle/input/birdclef-2024/unlabeled_soundscapes/1005741050.ogg')\naudio_duration = librosa.get_duration(y=audio_data, sr=sample_rate)\nprint(audio_duration)  # Output: 39.24961451247165\n\nHow do you propose addressing such audio? Should I pad them or only consider the first 7 chunks?\nBelow are the audios shorter than 4 minutes:\n\nAudios\t# chunks\n1005741050\t7\n1097804416\t11\n1110804277\t15\n1124920062\t9\n1138172620\t7\n1139032563\t6\n1153071930\t29\n1161623376\t6\n1167345793\t11\n1172450940\t7\n1185366972\t7\n1234011723\t7\n1236998966\t7\n1297439184\t8\n131862499\t23\n1322594419\t8\n133070011\t11\n1336735839\t11\n1358509220\t6\n1379663308\t10\n1387430080\t7\n1388992186\t5\n1401379769\t31\n1415314334\t8\n1438117667\t13\n1443490027\t5\n1448440588\t6\n1455355220\t5\n1477561954\t7\n1481040192\t9\n1485429595\t19\n1532956011\t16\n1565837591\t9\n1588565696\t10\n159694475\t10\n1622919711\t7\n1627554722\t7\n1639610082\t30\n164640676\t8\n1661350239\t7\n170335369\t9\n1771869911\t6\n177339080\t7\n1776693738\t6\n1786701443\t10\n1794874623\t6\n1807874208\t9\n1824105891\t34\n1914930973\t6\n1923452762\t6\n1931871270\t12\n1935185429\t9\n1935841506\t8\n1944962918\t7\n196721628\t7\n2034798682\t6\n2071069225\t8\n286921216\t7\n321570096\t5\n335109416\t21\n361566520\t5\n363688163\t8\n447329997\t9\n486082515\t16\n488480987\t17\n565350837\t6\n585561319\t7\n601981562\t13\n607492618\t11\n629690658\t5\n653186884\t8\n661179880\t6\n728170222\t9\n746998302\t9\n748970099\t37\n75437456\t9\n760902659\t7\n784009014\t10\n811909660\t9\n845270488\t17\n849703536\t8\n873334531\t11\n876155123\t12\n888009192\t8\n905760071\t4\n964375696\t7\n977042683\t12\n987190784\t6\n99662950\t7",
    "2753965": "I have the same doubt as you\nhttps://www.kaggle.com/competitions/birdclef-2024/discussion/494027",
    "2753988": "Hello! All test files are 4 minutes.\n\nWe strongly suggest starting form a working submission example, such as this one, instead of coding the submission logic from scratch. It's (hopefully) the least interesting part of the problem!\nhttps://www.kaggle.com/code/myso1987/how-to-submit-to-birdclef-2024",
    "2754021": "I found the solution. I needed to set my testing set to be test_soundscapes.",
    "2754025": "All files are 4 minutes. You need to set the testing set to \"/kaggle/input/birdclef-2024/test_soundscapes\".\n\nhttps://www.kaggle.com/competitions/birdclef-2024/data"
  },
  "source": "meta"
}