{
  "id": 468011,
  "title": "my nnUNet always get 0.0000???",
  "url": "/competitions/blood-vessel-segmentation/discussion/468011",
  "author_name": "",
  "post_date": "2024-01-15T02:18:47.300840700Z",
  "votes": null,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Hi everyone, I'm using <a href=\"https://www.kaggle.com/code/zhrthegreat/nnunet/notebook\" target=\"_blank\">nnUNet</a> for segmentation, but keep getting a score of 0 upon submission. I've confirmed that the output dimensions and data formatting are correct. The model performs decently with a DICE of ≈0.8, but I can't figure out why the score is 0 on Kaggle. Has anyone encountered a similar issue or has any suggestions? Thanks!</p>",
  "messages": [
    {
      "id": "2602234",
      "postDate": "01/15/2024 02:18:47",
      "content": "<p>Hi everyone, I'm using <a href=\"https://www.kaggle.com/code/zhrthegreat/nnunet/notebook\" target=\"_blank\">nnUNet</a> for segmentation, but keep getting a score of 0 upon submission. I've confirmed that the output dimensions and data formatting are correct. The model performs decently with a DICE of ≈0.8, but I can't figure out why the score is 0 on Kaggle. Has anyone encountered a similar issue or has any suggestions? Thanks!</p>",
      "rawMarkdown": "Hi everyone, I'm using [nnUNet](https://www.kaggle.com/code/zhrthegreat/nnunet/notebook) for segmentation, but keep getting a score of 0 upon submission. I've confirmed that the output dimensions and data formatting are correct. The model performs decently with a DICE of ≈0.8, but I can't figure out why the score is 0 on Kaggle. Has anyone encountered a similar issue or has any suggestions? Thanks!",
      "votes": null
    },
    {
      "id": "2602778",
      "postDate": "01/15/2024 10:36:52",
      "content": "<p>If you are using nnUnet's default normalization for CT scans, the clipping parameter of their normalization may cause the problem. They determine the clipping range based on the percentiles of your training data. Since the number of kidneys in training data is very few, the training statistics may poorly cover the intensity of other kidneys. You will get zero score if the intensity of other kidneys is completely outside the range of the clipping parameters. That's what happened in my early experiments. You may want to check if you are meeting something similar.</p>",
      "rawMarkdown": "If you are using nnUnet's default normalization for CT scans, the clipping parameter of their normalization may cause the problem. They determine the clipping range based on the percentiles of your training data. Since the number of kidneys in training data is very few, the training statistics may poorly cover the intensity of other kidneys. You will get zero score if the intensity of other kidneys is completely outside the range of the clipping parameters. That's what happened in my early experiments. You may want to check if you are meeting something similar.",
      "votes": null
    },
    {
      "id": "2602788",
      "postDate": "01/15/2024 10:41:36",
      "content": "<p>Thank you for your answer, I also encountered a similar problem.</p>",
      "rawMarkdown": "Thank you for your answer, I also encountered a similar problem.",
      "votes": null
    },
    {
      "id": "2602867",
      "postDate": "01/15/2024 11:49:57",
      "content": "<p>Thanks a lot！</p>",
      "rawMarkdown": "Thanks a lot！",
      "votes": null
    },
    {
      "id": "2609064",
      "postDate": "01/19/2024 08:24:02",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/czuryh\" target=\"_blank\">@czuryh</a> Thanks, your input is correct. In my case, using <code>zscore</code> as the normalization method in nnUNet fixed the 0 score issue. My baseline 2d model got a surface dice of 0.795 from a single fold. Thanks again!</p>",
      "rawMarkdown": "Hi @czuryh Thanks, your input is correct. In my case, using `zscore` as the normalization method in nnUNet fixed the 0 score issue. My baseline 2d model got a surface dice of 0.795 from a single fold. Thanks again!",
      "votes": null
    },
    {
      "id": "2611869",
      "postDate": "01/21/2024 03:47:17",
      "content": "<p>Hi, would it be possible for you to share how to install nnunet offline on kaggle?</p>",
      "rawMarkdown": "Hi, would it be possible for you to share how to install nnunet offline on kaggle?",
      "votes": null
    },
    {
      "id": "2611926",
      "postDate": "01/21/2024 04:39:21",
      "content": "<p>Perhaps you could refer to my notebook, the link is in the description of the question above.</p>",
      "rawMarkdown": "Perhaps you could refer to my notebook, the link is in the description of the question above.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2602778,
      "author_name": "czuryh",
      "author_url": "",
      "post_date": "01/15/2024 10:36:52",
      "content": "<p>If you are using nnUnet's default normalization for CT scans, the clipping parameter of their normalization may cause the problem. They determine the clipping range based on the percentiles of your training data. Since the number of kidneys in training data is very few, the training statistics may poorly cover the intensity of other kidneys. You will get zero score if the intensity of other kidneys is completely outside the range of the clipping parameters. That's what happened in my early experiments. You may want to check if you are meeting something similar.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2602788,
          "author_name": "jisookimjisoo",
          "author_url": "",
          "post_date": "01/15/2024 10:41:36",
          "content": "<p>Thank you for your answer, I also encountered a similar problem.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2602867,
          "author_name": "zhrthegreat",
          "author_url": "",
          "post_date": "01/15/2024 11:49:57",
          "content": "<p>Thanks a lot！</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 2609064,
          "author_name": "markpeng",
          "author_url": "",
          "post_date": "01/19/2024 08:24:02",
          "content": "<p>Hi <a href=\"https://www.kaggle.com/czuryh\" target=\"_blank\">@czuryh</a> Thanks, your input is correct. In my case, using <code>zscore</code> as the normalization method in nnUNet fixed the 0 score issue. My baseline 2d model got a surface dice of 0.795 from a single fold. Thanks again!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2611869,
      "author_name": "maedward",
      "author_url": "",
      "post_date": "01/21/2024 03:47:17",
      "content": "<p>Hi, would it be possible for you to share how to install nnunet offline on kaggle?</p>",
      "votes": null,
      "replies": [
        {
          "id": 2611926,
          "author_name": "zhrthegreat",
          "author_url": "",
          "post_date": "01/21/2024 04:39:21",
          "content": "<p>Perhaps you could refer to my notebook, the link is in the description of the question above.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2602234": "Hi everyone, I'm using [nnUNet](https://www.kaggle.com/code/zhrthegreat/nnunet/notebook) for segmentation, but keep getting a score of 0 upon submission. I've confirmed that the output dimensions and data formatting are correct. The model performs decently with a DICE of ≈0.8, but I can't figure out why the score is 0 on Kaggle. Has anyone encountered a similar issue or has any suggestions? Thanks!",
    "2602778": "If you are using nnUnet's default normalization for CT scans, the clipping parameter of their normalization may cause the problem. They determine the clipping range based on the percentiles of your training data. Since the number of kidneys in training data is very few, the training statistics may poorly cover the intensity of other kidneys. You will get zero score if the intensity of other kidneys is completely outside the range of the clipping parameters. That's what happened in my early experiments. You may want to check if you are meeting something similar.",
    "2602788": "Thank you for your answer, I also encountered a similar problem.",
    "2602867": "Thanks a lot！",
    "2609064": "Hi @czuryh Thanks, your input is correct. In my case, using `zscore` as the normalization method in nnUNet fixed the 0 score issue. My baseline 2d model got a surface dice of 0.795 from a single fold. Thanks again!",
    "2611869": "Hi, would it be possible for you to share how to install nnunet offline on kaggle?",
    "2611926": "Perhaps you could refer to my notebook, the link is in the description of the question above."
  },
  "source": "meta"
}