{
  "id": 530418,
  "title": "How to handle multiple input images for single study",
  "url": "/competitions/rsna-2024-lumbar-spine-degenerative-classification/discussion/530418",
  "author_name": "Pragya Mishra",
  "post_date": "2024-08-26T14:38:14.486000",
  "votes": 0,
  "comment_count": 5,
  "views": 0,
  "content": "<p>How do I perform prediction if there are multiple images for a single study_id , I have no idea how to handle it. Can anyone suggest how this can be achieved?</p>",
  "messages": [
    {
      "id": 2971220,
      "postDate": "2024-08-27T01:14:29.217Z",
      "content": "<p>Here are three possible approaches:</p>\n<ol>\n<li><p><strong>Independent Predictions with Aggregation</strong>  <br>\nMake independent predictions and then aggregate the results.</p></li>\n<li><p><strong>Sequence Modeling</strong><br>\nDesign a sequence model and treat the images like a time series.</p></li>\n<li><p><strong>Ensemble Modeling</strong><br>\nUse an ensemble model by training different models for different inputs and then integrating them.</p></li>\n</ol>\n<p>I hope this provides you with some useful guidance.</p>",
      "rawMarkdown": "Here are three possible approaches:\n\n1. **Independent Predictions with Aggregation**  \nMake independent predictions and then aggregate the results.\n\n2. **Sequence Modeling**\nDesign a sequence model and treat the images like a time series.\n\n3. **Ensemble Modeling**\nUse an ensemble model by training different models for different inputs and then integrating them.\n\nI hope this provides you with some useful guidance.",
      "votes": 4,
      "replies": [
        {
          "id": 2973775,
          "postDate": "2024-08-29T22:21:36.343Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 2980760,
          "postDate": "2024-09-06T06:34:45.147Z",
          "content": "<p>Thanks thats really helpful I will try them out.</p>",
          "rawMarkdown": "Thanks thats really helpful I will try them out."
        }
      ]
    },
    {
      "id": 2992911,
      "postDate": "2024-09-19T08:34:57.247Z",
      "content": "<p>Hey <a href=\"https://www.kaggle.com/pragyamishra23\" target=\"_blank\">@pragyamishra23</a> ,<br>\nmany people have tried directly merging folders and then sorting them with ImagePositionPatient in Metadata</p>",
      "rawMarkdown": "Hey @pragyamishra23 ,\nmany people have tried directly merging folders and then sorting them with ImagePositionPatient in Metadata"
    },
    {
      "id": 2973829,
      "postDate": "2024-08-30T01:48:07.823Z",
      "content": "<p><strong>For Tensorflow Implementation</strong></p>\n<p>you can build a model with multiple input and multiple outputs using the functional API</p>",
      "rawMarkdown": "**For Tensorflow Implementation**\n\nyou can build a model with multiple input and multiple outputs using the functional API"
    },
    {
      "id": 2970840,
      "postDate": "2024-08-26T14:38:14.487Z",
      "content": "<p>How do I perform prediction if there are multiple images for a single study_id , I have no idea how to handle it. Can anyone suggest how this can be achieved?</p>",
      "rawMarkdown": "How do I perform prediction if there are multiple images for a single study_id , I have no idea how to handle it. Can anyone suggest how this can be achieved?"
    }
  ],
  "comments": [
    {
      "id": 2971220,
      "author_name": "ylxy123",
      "author_url": "",
      "post_date": "2024-08-27T01:14:29.217000",
      "content": "<p>Here are three possible approaches:</p>\n<ol>\n<li><p><strong>Independent Predictions with Aggregation</strong>  <br>\nMake independent predictions and then aggregate the results.</p></li>\n<li><p><strong>Sequence Modeling</strong><br>\nDesign a sequence model and treat the images like a time series.</p></li>\n<li><p><strong>Ensemble Modeling</strong><br>\nUse an ensemble model by training different models for different inputs and then integrating them.</p></li>\n</ol>\n<p>I hope this provides you with some useful guidance.</p>",
      "votes": 4,
      "replies": [
        {
          "id": 2973775,
          "author_name": "",
          "author_url": "",
          "post_date": "2024-08-29T22:21:36.343000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 2980760,
          "author_name": "Pragya Mishra",
          "author_url": "",
          "post_date": "2024-09-06T06:34:45.147000",
          "content": "<p>Thanks thats really helpful I will try them out.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2992911,
      "author_name": "Rohit Chaudhari",
      "author_url": "",
      "post_date": "2024-09-19T08:34:57.247000",
      "content": "<p>Hey <a href=\"https://www.kaggle.com/pragyamishra23\" target=\"_blank\">@pragyamishra23</a> ,<br>\nmany people have tried directly merging folders and then sorting them with ImagePositionPatient in Metadata</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2973829,
      "author_name": "James Ezechinyere",
      "author_url": "",
      "post_date": "2024-08-30T01:48:07.823000",
      "content": "<p><strong>For Tensorflow Implementation</strong></p>\n<p>you can build a model with multiple input and multiple outputs using the functional API</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2971220": "Here are three possible approaches:\n\n1. **Independent Predictions with Aggregation**  \nMake independent predictions and then aggregate the results.\n\n2. **Sequence Modeling**\nDesign a sequence model and treat the images like a time series.\n\n3. **Ensemble Modeling**\nUse an ensemble model by training different models for different inputs and then integrating them.\n\nI hope this provides you with some useful guidance.",
    "2992911": "Hey @pragyamishra23 ,\nmany people have tried directly merging folders and then sorting them with ImagePositionPatient in Metadata",
    "2973829": "**For Tensorflow Implementation**\n\nyou can build a model with multiple input and multiple outputs using the functional API",
    "2970840": "How do I perform prediction if there are multiple images for a single study_id , I have no idea how to handle it. Can anyone suggest how this can be achieved?"
  }
}