{
  "id": 581229,
  "title": "Submission failed, no test soundscapes found",
  "url": "/competitions/birdclef-2025/discussion/581229",
  "author_name": "David Prieto",
  "post_date": "2025-05-29T09:05:27.915000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>IM stuck , i want to submit, but the submission keeps failing because cant find the test soundscapess while submitting notebook(not saving). I have internet disabled, as well i used local libraries that i installed and imported myself by kaggle/input/path. <br>\nI have done this code jsut in case if the test its not found, that will take the 700 first of train_soundscapes:</p>\n<p>`path_test_soundscapes = '/kaggle/input/birdclef-2025/test_soundscapes/'</p>\n<p>def get_files(path='/kaggle/input/birdclef-2025/test_soundscapes/'):<br>\n    if not os.path.isdir(path):<br>\n        return []<br>\n    test_soundscapes = [os.path.join(path, afile) for afile <br>\n                    in sorted(os.listdir(path)) <br>\n                    if afile.endswith('.ogg')]<br>\n    return test_soundscapes</p>\n<h1>Buscar archivos</h1>\n<p>test_soundscapes = get_files()</p>\n<h1>si no hay archivos de test, se cogen 700 de train_soundscapes</h1>\n<p>if len(test_soundscapes)==0:<br>\n    print(\"No hay archivos encontrados en test, utilizando train_sounscapes\")<br>\n    test_soundscapes = get_files()<br>\n    test_soundscapes = test_soundscapes[:700]<br>\n    TEST_DIR = Path(path_train_soundscapes)<br>\n`<br>\nAs far as i understand, for the competition nobody cant see the test soundscapes, only will appear when the notebook is submitted, but when i do it those files doesnt appear. Are we suppose to the first run the whole train_soundscapes(i though this is only for data augmentation)? How can i unlock the test soundscapes while submitting, my notebook has no errors, i checked first running it myself with some audios of train soundscapes and everything was generated the same</p>",
  "messages": [
    {
      "id": 3212067,
      "postDate": "2025-05-29T09:05:27.917Z",
      "content": "<p>IM stuck , i want to submit, but the submission keeps failing because cant find the test soundscapess while submitting notebook(not saving). I have internet disabled, as well i used local libraries that i installed and imported myself by kaggle/input/path. <br>\nI have done this code jsut in case if the test its not found, that will take the 700 first of train_soundscapes:</p>\n<p>`path_test_soundscapes = '/kaggle/input/birdclef-2025/test_soundscapes/'</p>\n<p>def get_files(path='/kaggle/input/birdclef-2025/test_soundscapes/'):<br>\n    if not os.path.isdir(path):<br>\n        return []<br>\n    test_soundscapes = [os.path.join(path, afile) for afile <br>\n                    in sorted(os.listdir(path)) <br>\n                    if afile.endswith('.ogg')]<br>\n    return test_soundscapes</p>\n<h1>Buscar archivos</h1>\n<p>test_soundscapes = get_files()</p>\n<h1>si no hay archivos de test, se cogen 700 de train_soundscapes</h1>\n<p>if len(test_soundscapes)==0:<br>\n    print(\"No hay archivos encontrados en test, utilizando train_sounscapes\")<br>\n    test_soundscapes = get_files()<br>\n    test_soundscapes = test_soundscapes[:700]<br>\n    TEST_DIR = Path(path_train_soundscapes)<br>\n`<br>\nAs far as i understand, for the competition nobody cant see the test soundscapes, only will appear when the notebook is submitted, but when i do it those files doesnt appear. Are we suppose to the first run the whole train_soundscapes(i though this is only for data augmentation)? How can i unlock the test soundscapes while submitting, my notebook has no errors, i checked first running it myself with some audios of train soundscapes and everything was generated the same</p>",
      "rawMarkdown": "IM stuck , i want to submit, but the submission keeps failing because cant find the test soundscapess while submitting notebook(not saving). I have internet disabled, as well i used local libraries that i installed and imported myself by kaggle/input/path. \nI have done this code jsut in case if the test its not found, that will take the 700 first of train_soundscapes:\n\n\n`path_test_soundscapes = '/kaggle/input/birdclef-2025/test_soundscapes/'\n\ndef get_files(path='/kaggle/input/birdclef-2025/test_soundscapes/'):\n    if not os.path.isdir(path):\n        return []\n    test_soundscapes = [os.path.join(path, afile) for afile \n                    in sorted(os.listdir(path)) \n                    if afile.endswith('.ogg')]\n    return test_soundscapes\n\n# Buscar archivos\ntest_soundscapes = get_files()\n\n# si no hay archivos de test, se cogen 700 de train_soundscapes\nif len(test_soundscapes)==0:\n    print(\"No hay archivos encontrados en test, utilizando train_sounscapes\")\n    test_soundscapes = get_files()\n    test_soundscapes = test_soundscapes[:700]\n    TEST_DIR = Path(path_train_soundscapes)\n`\nAs far as i understand, for the competition nobody cant see the test soundscapes, only will appear when the notebook is submitted, but when i do it those files doesnt appear. Are we suppose to the first run the whole train_soundscapes(i though this is only for data augmentation)? How can i unlock the test soundscapes while submitting, my notebook has no errors, i checked first running it myself with some audios of train soundscapes and everything was generated the same\n"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "3212067": "IM stuck , i want to submit, but the submission keeps failing because cant find the test soundscapess while submitting notebook(not saving). I have internet disabled, as well i used local libraries that i installed and imported myself by kaggle/input/path. \nI have done this code jsut in case if the test its not found, that will take the 700 first of train_soundscapes:\n\n\n`path_test_soundscapes = '/kaggle/input/birdclef-2025/test_soundscapes/'\n\ndef get_files(path='/kaggle/input/birdclef-2025/test_soundscapes/'):\n    if not os.path.isdir(path):\n        return []\n    test_soundscapes = [os.path.join(path, afile) for afile \n                    in sorted(os.listdir(path)) \n                    if afile.endswith('.ogg')]\n    return test_soundscapes\n\n# Buscar archivos\ntest_soundscapes = get_files()\n\n# si no hay archivos de test, se cogen 700 de train_soundscapes\nif len(test_soundscapes)==0:\n    print(\"No hay archivos encontrados en test, utilizando train_sounscapes\")\n    test_soundscapes = get_files()\n    test_soundscapes = test_soundscapes[:700]\n    TEST_DIR = Path(path_train_soundscapes)\n`\nAs far as i understand, for the competition nobody cant see the test soundscapes, only will appear when the notebook is submitted, but when i do it those files doesnt appear. Are we suppose to the first run the whole train_soundscapes(i though this is only for data augmentation)? How can i unlock the test soundscapes while submitting, my notebook has no errors, i checked first running it myself with some audios of train soundscapes and everything was generated the same\n"
  }
}