{
  "id": 502400,
  "title": "Strange Impact of Audio Duration",
  "url": "/competitions/birdclef-2024/discussion/502400",
  "author_name": "",
  "post_date": "2024-05-13T10:15:35.364007600Z",
  "votes": 17,
  "comment_count": 19,
  "views": 0,
  "content": "<p>Exp 1: First 5 seconds Training  (Efficient B0) (2024 Data) [LB 0.66]</p>\n<p>Exp 2: (5 seconds from first 7 seconds for classes count &gt; 160 samples, 5 seconds from first 20 seconds for classes with count &lt; 160) [LB: 0.60]</p>\n<p>I guess, still first 5 seconds work best, but I refuse to accept that there is no way to use remaining duration of recordings. </p>",
  "messages": [
    {
      "id": "2810561",
      "postDate": "05/13/2024 10:15:35",
      "content": "<p>Exp 1: First 5 seconds Training  (Efficient B0) (2024 Data) [LB 0.66]</p>\n<p>Exp 2: (5 seconds from first 7 seconds for classes count &gt; 160 samples, 5 seconds from first 20 seconds for classes with count &lt; 160) [LB: 0.60]</p>\n<p>I guess, still first 5 seconds work best, but I refuse to accept that there is no way to use remaining duration of recordings. </p>",
      "rawMarkdown": "Exp 1: First 5 seconds Training  (Efficient B0) (2024 Data) [LB 0.66]\n\nExp 2: (5 seconds from first 7 seconds for classes count > 160 samples, 5 seconds from first 20 seconds for classes with count < 160) [LB: 0.60]\n\n\nI guess, still first 5 seconds work best, but I refuse to accept that there is no way to use remaining duration of recordings.",
      "votes": null
    },
    {
      "id": "2810662",
      "postDate": "05/13/2024 11:42:38",
      "content": "<p>Have you tried to use google <code>bird-vocalization-analyzer</code> to pick the \"best\" segment during training?</p>",
      "rawMarkdown": "Have you tried to use google `bird-vocalization-analyzer` to pick the \"best\" segment during training?",
      "votes": null
    },
    {
      "id": "2810846",
      "postDate": "05/13/2024 13:27:43",
      "content": "<p>How does this work?</p>",
      "rawMarkdown": "How does this work?",
      "votes": null
    },
    {
      "id": "2810987",
      "postDate": "05/13/2024 14:51:52",
      "content": "<p>I tried. No help. It only even decreased lb. </p>",
      "rawMarkdown": "I tried. No help. It only even decreased lb.",
      "votes": null
    },
    {
      "id": "2810991",
      "postDate": "05/13/2024 14:55:25",
      "content": "<p>My training code uses all duration. I split each audio to 5s snippets and for each epoch I iterate over all snippets. It produces a 0.66 lb</p>",
      "rawMarkdown": "My training code uses all duration. I split each audio to 5s snippets and for each epoch I iterate over all snippets. It produces a 0.66 lb",
      "votes": null
    },
    {
      "id": "2811010",
      "postDate": "05/13/2024 15:15:20",
      "content": "<p>That's a great idea! Thanks for sharing this with everyone. I have no idea how I didn't think of that! How did you implement this?</p>",
      "rawMarkdown": "That's a great idea! Thanks for sharing this with everyone. I have no idea how I didn't think of that! How did you implement this?",
      "votes": null
    },
    {
      "id": "2811012",
      "postDate": "05/13/2024 15:17:01",
      "content": "<p>It's consistent with my results - I tried pseudolabeling unlabeled soundscapes with it, but got LB decrease.</p>",
      "rawMarkdown": "It's consistent with my results - I tried pseudolabeling unlabeled soundscapes with it, but got LB decrease.",
      "votes": null
    },
    {
      "id": "2811205",
      "postDate": "05/13/2024 16:39:20",
      "content": "<p>As a fellow refuser, I'm totally in alignment there's got to be a way to use it. It's throwing away precious, beautiful data. I don't know if any has mentioned this before, but I wonder if you do some sort of decreasing labeling smoothing on 5s clips if that works. First 5s 1.0, next 5s 0.98, next 5s 0.96, etc or something? Unfortunately, I haven't had time to try it myself.</p>",
      "rawMarkdown": "As a fellow refuser, I'm totally in alignment there's got to be a way to use it. It's throwing away precious, beautiful data. I don't know if any has mentioned this before, but I wonder if you do some sort of decreasing labeling smoothing on 5s clips if that works. First 5s 1.0, next 5s 0.98, next 5s 0.96, etc or something? Unfortunately, I haven't had time to try it myself.",
      "votes": null
    },
    {
      "id": "2811316",
      "postDate": "05/13/2024 17:35:13",
      "content": "<p>What LR do you use for your efficientnet? I cant get mine to give al cv above 0.82</p>",
      "rawMarkdown": "What LR do you use for your efficientnet? I cant get mine to give al cv above 0.82",
      "votes": null
    },
    {
      "id": "2811739",
      "postDate": "05/13/2024 21:18:46",
      "content": "<p>May I ask if your cv goes up with your Exp 2 setting?</p>",
      "rawMarkdown": "May I ask if your cv goes up with your Exp 2 setting?",
      "votes": null
    },
    {
      "id": "2811825",
      "postDate": "05/13/2024 23:32:25",
      "content": "<p>Yes, my CV with exp 1 in 0.972 and with EXP 2 its 0.976</p>",
      "rawMarkdown": "Yes, my CV with exp 1 in 0.972 and with EXP 2 its 0.976",
      "votes": null
    },
    {
      "id": "2811826",
      "postDate": "05/13/2024 23:33:18",
      "content": "<p>Here is my recent notebook you can use a starting point. CV goes more than 0.97. <br>\n<a href=\"https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66/notebook\" target=\"_blank\">https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66/notebook</a></p>",
      "rawMarkdown": "Here is my recent notebook you can use a starting point. CV goes more than 0.97. \nhttps://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66/notebook",
      "votes": null
    },
    {
      "id": "2812819",
      "postDate": "05/14/2024 12:39:10",
      "content": "<p>What did you do with the last segment &lt; 5 sec? Did you dropped it, or padded it up to 5 secs?</p>",
      "rawMarkdown": "What did you do with the last segment < 5 sec? Did you dropped it, or padded it up to 5 secs?",
      "votes": null
    },
    {
      "id": "2812989",
      "postDate": "05/14/2024 14:15:29",
      "content": "<p>Does exp 2 increase LB or not?</p>",
      "rawMarkdown": "Does exp 2 increase LB or not?",
      "votes": null
    },
    {
      "id": "2812991",
      "postDate": "05/14/2024 14:16:39",
      "content": "<p>I pad it to 5 sec. However I dont think I have a strong effect on the result</p>",
      "rawMarkdown": "I pad it to 5 sec. However I dont think I have a strong effect on the result",
      "votes": null
    },
    {
      "id": "2812993",
      "postDate": "05/14/2024 14:17:31",
      "content": "<p>I simply split and save the 5 sec spectrograms in a place and create a new df based on the files</p>",
      "rawMarkdown": "I simply split and save the 5 sec spectrograms in a place and create a new df based on the files",
      "votes": null
    },
    {
      "id": "2814074",
      "postDate": "05/15/2024 06:31:58",
      "content": "<p>FWIW so far I’ve exclusively trained b0 using random crops and my submissions have ranged from 0.59-0.66. I think the idea to use the first 5 sec is a bit overblown (although I can see the intuition, it’s unclear to me if it really works)</p>",
      "rawMarkdown": "FWIW so far I’ve exclusively trained b0 using random crops and my submissions have ranged from 0.59-0.66. I think the idea to use the first 5 sec is a bit overblown (although I can see the intuition, it’s unclear to me if it really works)",
      "votes": null
    },
    {
      "id": "2818147",
      "postDate": "05/17/2024 09:51:51",
      "content": "<p>I’ve tried it too, but for me the CV remains the same. I think it’s enough to use 5 seconds per audio</p>",
      "rawMarkdown": "I’ve tried it too, but for me the CV remains the same. I think it’s enough to use 5 seconds per audio",
      "votes": null
    },
    {
      "id": "2821079",
      "postDate": "05/17/2024 22:38:46",
      "content": "<p>Do you use prev competitions data?</p>",
      "rawMarkdown": "Do you use prev competitions data?",
      "votes": null
    },
    {
      "id": "2822334",
      "postDate": "05/18/2024 14:37:51",
      "content": "<p>no i did not</p>",
      "rawMarkdown": "no i did not",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2810662,
      "author_name": "atamazian",
      "author_url": "",
      "post_date": "05/13/2024 11:42:38",
      "content": "<p>Have you tried to use google <code>bird-vocalization-analyzer</code> to pick the \"best\" segment during training?</p>",
      "votes": null,
      "replies": [
        {
          "id": 2810846,
          "author_name": "max1mum",
          "author_url": "",
          "post_date": "05/13/2024 13:27:43",
          "content": "<p>How does this work?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2810987,
          "author_name": "llleeeoooh",
          "author_url": "",
          "post_date": "05/13/2024 14:51:52",
          "content": "<p>I tried. No help. It only even decreased lb. </p>",
          "votes": null,
          "replies": [
            {
              "id": 2811012,
              "author_name": "atamazian",
              "author_url": "",
              "post_date": "05/13/2024 15:17:01",
              "content": "<p>It's consistent with my results - I tried pseudolabeling unlabeled soundscapes with it, but got LB decrease.</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2810991,
      "author_name": "llleeeoooh",
      "author_url": "",
      "post_date": "05/13/2024 14:55:25",
      "content": "<p>My training code uses all duration. I split each audio to 5s snippets and for each epoch I iterate over all snippets. It produces a 0.66 lb</p>",
      "votes": null,
      "replies": [
        {
          "id": 2811010,
          "author_name": "max1mum",
          "author_url": "",
          "post_date": "05/13/2024 15:15:20",
          "content": "<p>That's a great idea! Thanks for sharing this with everyone. I have no idea how I didn't think of that! How did you implement this?</p>",
          "votes": null,
          "replies": [
            {
              "id": 2812993,
              "author_name": "llleeeoooh",
              "author_url": "",
              "post_date": "05/14/2024 14:17:31",
              "content": "<p>I simply split and save the 5 sec spectrograms in a place and create a new df based on the files</p>",
              "votes": null,
              "replies": []
            }
          ]
        },
        {
          "id": 2812819,
          "author_name": "atamazian",
          "author_url": "",
          "post_date": "05/14/2024 12:39:10",
          "content": "<p>What did you do with the last segment &lt; 5 sec? Did you dropped it, or padded it up to 5 secs?</p>",
          "votes": null,
          "replies": [
            {
              "id": 2812991,
              "author_name": "llleeeoooh",
              "author_url": "",
              "post_date": "05/14/2024 14:16:39",
              "content": "<p>I pad it to 5 sec. However I dont think I have a strong effect on the result</p>",
              "votes": null,
              "replies": []
            }
          ]
        },
        {
          "id": 2818147,
          "author_name": "demko1",
          "author_url": "",
          "post_date": "05/17/2024 09:51:51",
          "content": "<p>I’ve tried it too, but for me the CV remains the same. I think it’s enough to use 5 seconds per audio</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2821079,
          "author_name": "darkhann",
          "author_url": "",
          "post_date": "05/17/2024 22:38:46",
          "content": "<p>Do you use prev competitions data?</p>",
          "votes": null,
          "replies": [
            {
              "id": 2822334,
              "author_name": "llleeeoooh",
              "author_url": "",
              "post_date": "05/18/2024 14:37:51",
              "content": "<p>no i did not</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2811205,
      "author_name": "msthil",
      "author_url": "",
      "post_date": "05/13/2024 16:39:20",
      "content": "<p>As a fellow refuser, I'm totally in alignment there's got to be a way to use it. It's throwing away precious, beautiful data. I don't know if any has mentioned this before, but I wonder if you do some sort of decreasing labeling smoothing on 5s clips if that works. First 5s 1.0, next 5s 0.98, next 5s 0.96, etc or something? Unfortunately, I haven't had time to try it myself.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2811316,
      "author_name": "dylanc21",
      "author_url": "",
      "post_date": "05/13/2024 17:35:13",
      "content": "<p>What LR do you use for your efficientnet? I cant get mine to give al cv above 0.82</p>",
      "votes": null,
      "replies": [
        {
          "id": 2811826,
          "author_name": "salmanahmedtamu",
          "author_url": "",
          "post_date": "05/13/2024 23:33:18",
          "content": "<p>Here is my recent notebook you can use a starting point. CV goes more than 0.97. <br>\n<a href=\"https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66/notebook\" target=\"_blank\">https://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66/notebook</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2811739,
      "author_name": "leonshangguan",
      "author_url": "",
      "post_date": "05/13/2024 21:18:46",
      "content": "<p>May I ask if your cv goes up with your Exp 2 setting?</p>",
      "votes": null,
      "replies": [
        {
          "id": 2811825,
          "author_name": "salmanahmedtamu",
          "author_url": "",
          "post_date": "05/13/2024 23:32:25",
          "content": "<p>Yes, my CV with exp 1 in 0.972 and with EXP 2 its 0.976</p>",
          "votes": null,
          "replies": [
            {
              "id": 2812989,
              "author_name": "max1mum",
              "author_url": "",
              "post_date": "05/14/2024 14:15:29",
              "content": "<p>Does exp 2 increase LB or not?</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2814074,
      "author_name": "robbynevels",
      "author_url": "",
      "post_date": "05/15/2024 06:31:58",
      "content": "<p>FWIW so far I’ve exclusively trained b0 using random crops and my submissions have ranged from 0.59-0.66. I think the idea to use the first 5 sec is a bit overblown (although I can see the intuition, it’s unclear to me if it really works)</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2810561": "Exp 1: First 5 seconds Training  (Efficient B0) (2024 Data) [LB 0.66]\n\nExp 2: (5 seconds from first 7 seconds for classes count > 160 samples, 5 seconds from first 20 seconds for classes with count < 160) [LB: 0.60]\n\n\nI guess, still first 5 seconds work best, but I refuse to accept that there is no way to use remaining duration of recordings.",
    "2810662": "Have you tried to use google `bird-vocalization-analyzer` to pick the \"best\" segment during training?",
    "2810846": "How does this work?",
    "2810987": "I tried. No help. It only even decreased lb.",
    "2810991": "My training code uses all duration. I split each audio to 5s snippets and for each epoch I iterate over all snippets. It produces a 0.66 lb",
    "2811010": "That's a great idea! Thanks for sharing this with everyone. I have no idea how I didn't think of that! How did you implement this?",
    "2811012": "It's consistent with my results - I tried pseudolabeling unlabeled soundscapes with it, but got LB decrease.",
    "2811205": "As a fellow refuser, I'm totally in alignment there's got to be a way to use it. It's throwing away precious, beautiful data. I don't know if any has mentioned this before, but I wonder if you do some sort of decreasing labeling smoothing on 5s clips if that works. First 5s 1.0, next 5s 0.98, next 5s 0.96, etc or something? Unfortunately, I haven't had time to try it myself.",
    "2811316": "What LR do you use for your efficientnet? I cant get mine to give al cv above 0.82",
    "2811739": "May I ask if your cv goes up with your Exp 2 setting?",
    "2811825": "Yes, my CV with exp 1 in 0.972 and with EXP 2 its 0.976",
    "2811826": "Here is my recent notebook you can use a starting point. CV goes more than 0.97. \nhttps://www.kaggle.com/code/salmanahmedtamu/training-0-65-0-66/notebook",
    "2812819": "What did you do with the last segment < 5 sec? Did you dropped it, or padded it up to 5 secs?",
    "2812989": "Does exp 2 increase LB or not?",
    "2812991": "I pad it to 5 sec. However I dont think I have a strong effect on the result",
    "2812993": "I simply split and save the 5 sec spectrograms in a place and create a new df based on the files",
    "2814074": "FWIW so far I’ve exclusively trained b0 using random crops and my submissions have ranged from 0.59-0.66. I think the idea to use the first 5 sec is a bit overblown (although I can see the intuition, it’s unclear to me if it really works)",
    "2818147": "I’ve tried it too, but for me the CV remains the same. I think it’s enough to use 5 seconds per audio",
    "2821079": "Do you use prev competitions data?",
    "2822334": "no i did not"
  },
  "source": "meta"
}