{
  "id": 580383,
  "title": "Need help with full train and test submission sample.",
  "url": "/competitions/birdclef-2025/discussion/580383",
  "author_name": "",
  "post_date": "2025-05-23T20:26:59.705639500Z",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Can any one share a full notebook that train  a simple basic neural network and submit the result successfully to the competetion?</p>\n<p>I am having a serious problem with finding the location of the test samples in the server. In my submission code, in my local run, code is working but in the server, it cannot find the test samples and my submission are failing. </p>\n<p>I use the directory below to find the test samples:</p>\n<p>TEST_DIR  = \"/kaggle/input/birdclef-2025/test_soundscapes\"</p>\n<h1>---------- check for test files ----------</h1>\n<p>ogg_files = sorted(glob.glob(f\"{TEST_DIR}/*.ogg\"))<br>\nif len(ogg_files) == 0:<br>\n    print(\"🛑 No test .ogg files found. Notebook stops here – nothing saved.\")<br>\n    raise SystemExit</p>\n<p>I will be thankful if anyone help me in this.</p>",
  "messages": [
    {
      "id": "3208244",
      "postDate": "05/23/2025 20:26:59",
      "content": "<p>Can any one share a full notebook that train  a simple basic neural network and submit the result successfully to the competetion?</p>\n<p>I am having a serious problem with finding the location of the test samples in the server. In my submission code, in my local run, code is working but in the server, it cannot find the test samples and my submission are failing. </p>\n<p>I use the directory below to find the test samples:</p>\n<p>TEST_DIR  = \"/kaggle/input/birdclef-2025/test_soundscapes\"</p>\n<h1>---------- check for test files ----------</h1>\n<p>ogg_files = sorted(glob.glob(f\"{TEST_DIR}/*.ogg\"))<br>\nif len(ogg_files) == 0:<br>\n    print(\"🛑 No test .ogg files found. Notebook stops here – nothing saved.\")<br>\n    raise SystemExit</p>\n<p>I will be thankful if anyone help me in this.</p>",
      "rawMarkdown": "Can any one share a full notebook that train  a simple basic neural network and submit the result successfully to the competetion?\n\nI am having a serious problem with finding the location of the test samples in the server. In my submission code, in my local run, code is working but in the server, it cannot find the test samples and my submission are failing. \n\nI use the directory below to find the test samples:\n\nTEST_DIR  = \"/kaggle/input/birdclef-2025/test_soundscapes\"\n\n# ---------- check for test files ----------\nogg_files = sorted(glob.glob(f\"{TEST_DIR}/*.ogg\"))\nif len(ogg_files) == 0:\n    print(\"🛑 No test .ogg files found. Notebook stops here – nothing saved.\")\n    raise SystemExit\n\n\n\nI will be thankful if anyone help me in this.",
      "votes": null
    },
    {
      "id": "3208422",
      "postDate": "05/24/2025 05:36:32",
      "content": "<p>The test set of files is hidden — you won't be able to see it during execution. Imagine someone takes your notebook and runs it in a different environment, where the files are already present. Therefore, your notebook should run without errors both when the folder is empty and when it contains files.</p>",
      "rawMarkdown": "The test set of files is hidden — you won't be able to see it during execution. Imagine someone takes your notebook and runs it in a different environment, where the files are already present. Therefore, your notebook should run without errors both when the folder is empty and when it contains files.",
      "votes": null
    },
    {
      "id": "3210887",
      "postDate": "05/27/2025 20:21:24",
      "content": "<p>Thank you for your explanations. Can you reference me a code for this competition that trains and submits the result successfully? </p>",
      "rawMarkdown": "Thank you for your explanations. Can you reference me a code for this competition that trains and submits the result successfully?",
      "votes": null
    },
    {
      "id": "3211052",
      "postDate": "05/28/2025 03:14:39",
      "content": "<p>Of course, take these examples as a basis: <a href=\"https://www.kaggle.com/competitions/birdclef-2025/code\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2025/code</a> - notebooks for training or \"inference with score\" (sorted by \"Most Votes\")</p>",
      "rawMarkdown": "Of course, take these examples as a basis: https://www.kaggle.com/competitions/birdclef-2025/code - notebooks for training or \"inference with score\" (sorted by \"Most Votes\")",
      "votes": null
    },
    {
      "id": "3211665",
      "postDate": "05/28/2025 17:06:36",
      "content": "<p>Thank you very much</p>",
      "rawMarkdown": "Thank you very much",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3208422,
      "author_name": "sapr3s",
      "author_url": "",
      "post_date": "05/24/2025 05:36:32",
      "content": "<p>The test set of files is hidden — you won't be able to see it during execution. Imagine someone takes your notebook and runs it in a different environment, where the files are already present. Therefore, your notebook should run without errors both when the folder is empty and when it contains files.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3210887,
          "author_name": "alimohammadi9",
          "author_url": "",
          "post_date": "05/27/2025 20:21:24",
          "content": "<p>Thank you for your explanations. Can you reference me a code for this competition that trains and submits the result successfully? </p>",
          "votes": null,
          "replies": [
            {
              "id": 3211052,
              "author_name": "sapr3s",
              "author_url": "",
              "post_date": "05/28/2025 03:14:39",
              "content": "<p>Of course, take these examples as a basis: <a href=\"https://www.kaggle.com/competitions/birdclef-2025/code\" target=\"_blank\">https://www.kaggle.com/competitions/birdclef-2025/code</a> - notebooks for training or \"inference with score\" (sorted by \"Most Votes\")</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3211665,
                  "author_name": "alimohammadi9",
                  "author_url": "",
                  "post_date": "05/28/2025 17:06:36",
                  "content": "<p>Thank you very much</p>",
                  "votes": null,
                  "replies": []
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3208244": "Can any one share a full notebook that train  a simple basic neural network and submit the result successfully to the competetion?\n\nI am having a serious problem with finding the location of the test samples in the server. In my submission code, in my local run, code is working but in the server, it cannot find the test samples and my submission are failing. \n\nI use the directory below to find the test samples:\n\nTEST_DIR  = \"/kaggle/input/birdclef-2025/test_soundscapes\"\n\n# ---------- check for test files ----------\nogg_files = sorted(glob.glob(f\"{TEST_DIR}/*.ogg\"))\nif len(ogg_files) == 0:\n    print(\"🛑 No test .ogg files found. Notebook stops here – nothing saved.\")\n    raise SystemExit\n\n\n\nI will be thankful if anyone help me in this.",
    "3208422": "The test set of files is hidden — you won't be able to see it during execution. Imagine someone takes your notebook and runs it in a different environment, where the files are already present. Therefore, your notebook should run without errors both when the folder is empty and when it contains files.",
    "3210887": "Thank you for your explanations. Can you reference me a code for this competition that trains and submits the result successfully?",
    "3211052": "Of course, take these examples as a basis: https://www.kaggle.com/competitions/birdclef-2025/code - notebooks for training or \"inference with score\" (sorted by \"Most Votes\")",
    "3211665": "Thank you very much"
  },
  "source": "meta"
}