{
  "id": 583157,
  "title": "28th Place Solution - yolo 8s + yolo 10x + yolo 11",
  "url": "/competitions/byu-locating-bacterial-flagellar-motors-2025/discussion/583157",
  "author_name": "",
  "post_date": "2025-06-05T05:41:48.518000",
  "votes": 5,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Thanks to Kaggle and the organizers of the competition for the baseline provided. This is our first time participating in an image object detection competition, and we have learned a lot.</p>\n<p>We used different random seeds, divided the training and validation sets multiple times, and experimented with various image sizes (640, 840, 960, 1280) and YOLO versions. We also adopted several data augmentation techniques, such as mosaic, mixup, perspective, shear, and auto  augmentation.</p>\n<p>We found that the four models achieved the highest LB score when integrated. Our self-trained YOLO v8 and YOLO v10 models, combined with YOLO v10 and YOLO v11 models from public datasets, yielded the highest scores. We are fortunate to have chosen the combination that achieved the highest private score.</p>\n<p>Finally, thanks to YukiZ and Eng Adam Al Mohammedi for making the code and model public.</p>",
  "messages": [
    {
      "id": 3217534,
      "postDate": "2025-06-05T05:41:48.517Z",
      "content": "<p>Thanks to Kaggle and the organizers of the competition for the baseline provided. This is our first time participating in an image object detection competition, and we have learned a lot.</p>\n<p>We used different random seeds, divided the training and validation sets multiple times, and experimented with various image sizes (640, 840, 960, 1280) and YOLO versions. We also adopted several data augmentation techniques, such as mosaic, mixup, perspective, shear, and auto  augmentation.</p>\n<p>We found that the four models achieved the highest LB score when integrated. Our self-trained YOLO v8 and YOLO v10 models, combined with YOLO v10 and YOLO v11 models from public datasets, yielded the highest scores. We are fortunate to have chosen the combination that achieved the highest private score.</p>\n<p>Finally, thanks to YukiZ and Eng Adam Al Mohammedi for making the code and model public.</p>",
      "rawMarkdown": "Thanks to Kaggle and the organizers of the competition for the baseline provided. This is our first time participating in an image object detection competition, and we have learned a lot.\n\nWe used different random seeds, divided the training and validation sets multiple times, and experimented with various image sizes (640, 840, 960, 1280) and YOLO versions. We also adopted several data augmentation techniques, such as mosaic, mixup, perspective, shear, and auto  augmentation.\n\nWe found that the four models achieved the highest LB score when integrated. Our self-trained YOLO v8 and YOLO v10 models, combined with YOLO v10 and YOLO v11 models from public datasets, yielded the highest scores. We are fortunate to have chosen the combination that achieved the highest private score.\n\nFinally, thanks to YukiZ and Eng Adam Al Mohammedi for making the code and model public.",
      "votes": 5
    },
    {
      "id": 3217813,
      "postDate": "2025-06-05T12:27:52.627Z",
      "content": "<p>Hello! Can you show your inference code? Because I'm trying to integrate v8 and v10 and it's timed out. Thanks!</p>",
      "rawMarkdown": "Hello! Can you show your inference code? Because I'm trying to integrate v8 and v10 and it's timed out. Thanks!",
      "votes": 1,
      "replies": [
        {
          "id": 3217893,
          "postDate": "2025-06-05T13:46:27.977Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 3217990,
          "postDate": "2025-06-05T16:23:37.680Z",
          "content": "<p>We can adjust this parameter CONCENTRATION to accelerate the inference process. Adjusting it to 0.5 will increase the inference speed by 2 times, and adjusting it to 0.25 will increase the inference speed by 4 times.</p>",
          "rawMarkdown": "We can adjust this parameter CONCENTRATION to accelerate the inference process. Adjusting it to 0.5 will increase the inference speed by 2 times, and adjusting it to 0.25 will increase the inference speed by 4 times."
        }
      ]
    },
    {
      "id": 3217538,
      "postDate": "2025-06-05T05:47:22.107Z",
      "content": "<p>may i know how you ensemble your models?</p>",
      "rawMarkdown": "may i know how you ensemble your models?",
      "votes": 1,
      "replies": [
        {
          "id": 3217562,
          "postDate": "2025-06-05T06:19:49.743Z",
          "content": "<p>I used public code and adjusted the parameters CONFIDENCE_THREHOLD, CONCENTATION, and BATCHSIZE.  I also modified a function by changing 'mean' to 'max' in the following code:</p>\n<p>avg_conf = np.mean([d['confidence'] for d in similar_detections])</p>\n<p>because I saw a post in the discussion that 'max' is more stable than 'mean' and 'sum'.<br>\n<a href=\"https://www.kaggle.com/competitions/byu-locating-bacterial-flagellar-motors-2025/discussion/578156\" target=\"_blank\">https://www.kaggle.com/competitions/byu-locating-bacterial-flagellar-motors-2025/discussion/578156</a></p>",
          "rawMarkdown": "I used public code and adjusted the parameters CONFIDENCE_THREHOLD, CONCENTATION, and BATCHSIZE.  I also modified a function by changing 'mean' to 'max' in the following code:\n\navg_conf = np.mean([d['confidence'] for d in similar_detections])\n\nbecause I saw a post in the discussion that 'max' is more stable than 'mean' and 'sum'.\nhttps://www.kaggle.com/competitions/byu-locating-bacterial-flagellar-motors-2025/discussion/578156\n"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 3217813,
      "author_name": "wym2024",
      "author_url": "",
      "post_date": "2025-06-05T12:27:52.627000",
      "content": "<p>Hello! Can you show your inference code? Because I'm trying to integrate v8 and v10 and it's timed out. Thanks!</p>",
      "votes": 1,
      "replies": [
        {
          "id": 3217893,
          "author_name": "",
          "author_url": "",
          "post_date": "2025-06-05T13:46:27.977000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 3217990,
          "author_name": "",
          "author_url": "",
          "post_date": "2025-06-05T16:23:37.680000",
          "content": "<p>We can adjust this parameter CONCENTRATION to accelerate the inference process. Adjusting it to 0.5 will increase the inference speed by 2 times, and adjusting it to 0.25 will increase the inference speed by 4 times.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 3217538,
      "author_name": "MengYe",
      "author_url": "",
      "post_date": "2025-06-05T05:47:22.107000",
      "content": "<p>may i know how you ensemble your models?</p>",
      "votes": 1,
      "replies": [
        {
          "id": 3217562,
          "author_name": "",
          "author_url": "",
          "post_date": "2025-06-05T06:19:49.743000",
          "content": "<p>I used public code and adjusted the parameters CONFIDENCE_THREHOLD, CONCENTATION, and BATCHSIZE.  I also modified a function by changing 'mean' to 'max' in the following code:</p>\n<p>avg_conf = np.mean([d['confidence'] for d in similar_detections])</p>\n<p>because I saw a post in the discussion that 'max' is more stable than 'mean' and 'sum'.<br>\n<a href=\"https://www.kaggle.com/competitions/byu-locating-bacterial-flagellar-motors-2025/discussion/578156\" target=\"_blank\">https://www.kaggle.com/competitions/byu-locating-bacterial-flagellar-motors-2025/discussion/578156</a></p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3217534": "Thanks to Kaggle and the organizers of the competition for the baseline provided. This is our first time participating in an image object detection competition, and we have learned a lot.\n\nWe used different random seeds, divided the training and validation sets multiple times, and experimented with various image sizes (640, 840, 960, 1280) and YOLO versions. We also adopted several data augmentation techniques, such as mosaic, mixup, perspective, shear, and auto  augmentation.\n\nWe found that the four models achieved the highest LB score when integrated. Our self-trained YOLO v8 and YOLO v10 models, combined with YOLO v10 and YOLO v11 models from public datasets, yielded the highest scores. We are fortunate to have chosen the combination that achieved the highest private score.\n\nFinally, thanks to YukiZ and Eng Adam Al Mohammedi for making the code and model public.",
    "3217813": "Hello! Can you show your inference code? Because I'm trying to integrate v8 and v10 and it's timed out. Thanks!",
    "3217538": "may i know how you ensemble your models?"
  }
}