{
  "id": 346188,
  "title": "need help ....loss stack in non ",
  "url": "/competitions/hubmap-organ-segmentation/discussion/346188",
  "author_name": "",
  "post_date": "2022-08-18T09:27:26.829008700Z",
  "votes": null,
  "comment_count": 12,
  "views": 0,
  "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2F5f8cbb64604c44e8019f1043d96b14e6%2FScreenshot%202022-08-18%20144054.png?generation=1660814723722264&amp;alt=media\" alt=\"\"></p>\n<p>no matter what kind of loss function I use I get loss == non .. is there any one who can help me out ?? </p>",
  "messages": [
    {
      "id": "1904552",
      "postDate": "08/18/2022 09:27:26",
      "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2F5f8cbb64604c44e8019f1043d96b14e6%2FScreenshot%202022-08-18%20144054.png?generation=1660814723722264&amp;alt=media\" alt=\"\"></p>\n<p>no matter what kind of loss function I use I get loss == non .. is there any one who can help me out ?? </p>",
      "rawMarkdown": "![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2F5f8cbb64604c44e8019f1043d96b14e6%2FScreenshot%202022-08-18%20144054.png?generation=1660814723722264&alt=media)\n\n\nno matter what kind of loss function I use I get loss == non .. is there any one who can help me out ??",
      "votes": null
    },
    {
      "id": "1904604",
      "postDate": "08/18/2022 10:34:05",
      "content": "<p>You are evaluating first epoch, wait after first epoch and tell if there is still nan value. </p>",
      "rawMarkdown": "You are evaluating first epoch, wait after first epoch and tell if there is still nan value.",
      "votes": null
    },
    {
      "id": "1904634",
      "postDate": "08/18/2022 11:20:11",
      "content": "<p>Fp16?<br>\nLower learning rate</p>",
      "rawMarkdown": "Fp16?\nLower learning rate",
      "votes": null
    },
    {
      "id": "1904764",
      "postDate": "08/18/2022 13:14:33",
      "content": "<p><a href=\"https://www.kaggle.com/sakvaua\" target=\"_blank\">@sakvaua</a>  sir lr=0.001 , what do you suggest ?? </p>",
      "rawMarkdown": "sakvaua  sir lr=0.001 , what do you suggest ??",
      "votes": null
    },
    {
      "id": "1904765",
      "postDate": "08/18/2022 13:16:57",
      "content": "<p><a href=\"https://www.kaggle.com/urosjarc\" target=\"_blank\">@urosjarc</a> sir <br>\n <img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2Fd8db77af148c1b8f103ddaac3582d799%2FScreenshot%202022-08-18%20191334.png?generation=1660828508639575&amp;alt=media\" alt=\"\"> <br>\n😭😭😭</p>",
      "rawMarkdown": "urosjarc sir \n ![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2Fd8db77af148c1b8f103ddaac3582d799%2FScreenshot%202022-08-18%20191334.png?generation=1660828508639575&alt=media) \n😭😭😭",
      "votes": null
    },
    {
      "id": "1905027",
      "postDate": "08/18/2022 17:35:35",
      "content": "<p>Its interesting that accuracy is evaluating but loss is not, can you post the code so that I can check what you are doing please.</p>",
      "rawMarkdown": "Its interesting that accuracy is evaluating but loss is not, can you post the code so that I can check what you are doing please.",
      "votes": null
    },
    {
      "id": "1905063",
      "postDate": "08/18/2022 18:01:28",
      "content": "<p>I don't know how much you will understand . Please ignore my noob coding. you can clone it from here .</p>\n<p><a href=\"url\" target=\"_blank\">https://github.com/AmzadHossainrafis/project2</a></p>",
      "rawMarkdown": "I don't know how much you will understand . Please ignore my noob coding. you can clone it from here .\n\n  [https://github.com/AmzadHossainrafis/project2](url)",
      "votes": null
    },
    {
      "id": "1905112",
      "postDate": "08/18/2022 18:34:46",
      "content": "<p>Oh you have full project on github, joust like me,<br>\ncan you create minimal working example I can help you then, but I will not debug whole project.</p>",
      "rawMarkdown": "Oh you have full project on github, joust like me,\ncan you create minimal working example I can help you then, but I will not debug whole project.",
      "votes": null
    },
    {
      "id": "1905315",
      "postDate": "08/18/2022 23:31:28",
      "content": "<p>can i have your mail . kaggle is not allowing to share github </p>",
      "rawMarkdown": "can i have your mail . kaggle is not allowing to share github",
      "votes": null
    },
    {
      "id": "1905361",
      "postDate": "08/19/2022 02:30:10",
      "content": "<p>Put it on gist: <a href=\"https://gist.github.com/\" target=\"_blank\">https://gist.github.com/</a> so that every body can see and help you.</p>",
      "rawMarkdown": "Put it on gist: https://gist.github.com/ so that every body can see and help you.",
      "votes": null
    },
    {
      "id": "1907832",
      "postDate": "08/21/2022 05:56:03",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/amzadhossainrafi\" target=\"_blank\">@amzadhossainrafi</a>, make sure you've used a non-linear activation function like sigmoid or softmax in your final convolution layer.</p>",
      "rawMarkdown": "Hi @amzadhossainrafi, make sure you've used a non-linear activation function like sigmoid or softmax in your final convolution layer.",
      "votes": null
    },
    {
      "id": "1908438",
      "postDate": "08/21/2022 17:13:24",
      "content": "<p>thq sir for your advice . But I already solve this problem . I was facing this prb becoz of my mask loading process .. </p>",
      "rawMarkdown": "thq sir for your advice . But I already solve this problem . I was facing this prb becoz of my mask loading process ..",
      "votes": null
    },
    {
      "id": "1909052",
      "postDate": "08/22/2022 09:09:50",
      "content": "<p>You can try official loss functions, such as nn.CrossEntropyLoss(). If this does not solve your problem, you can try print the value of your prediction and the value of ground truth, and check what is wrong. </p>",
      "rawMarkdown": "You can try official loss functions, such as nn.CrossEntropyLoss(). If this does not solve your problem, you can try print the value of your prediction and the value of ground truth, and check what is wrong.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1904604,
      "author_name": "urosjarc",
      "author_url": "",
      "post_date": "08/18/2022 10:34:05",
      "content": "<p>You are evaluating first epoch, wait after first epoch and tell if there is still nan value. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1904634,
      "author_name": "sakvaua",
      "author_url": "",
      "post_date": "08/18/2022 11:20:11",
      "content": "<p>Fp16?<br>\nLower learning rate</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1904764,
      "author_name": "amzadhossainrafi",
      "author_url": "",
      "post_date": "08/18/2022 13:14:33",
      "content": "<p><a href=\"https://www.kaggle.com/sakvaua\" target=\"_blank\">@sakvaua</a>  sir lr=0.001 , what do you suggest ?? </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1904765,
      "author_name": "amzadhossainrafi",
      "author_url": "",
      "post_date": "08/18/2022 13:16:57",
      "content": "<p><a href=\"https://www.kaggle.com/urosjarc\" target=\"_blank\">@urosjarc</a> sir <br>\n <img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2Fd8db77af148c1b8f103ddaac3582d799%2FScreenshot%202022-08-18%20191334.png?generation=1660828508639575&amp;alt=media\" alt=\"\"> <br>\n😭😭😭</p>",
      "votes": null,
      "replies": [
        {
          "id": 1905027,
          "author_name": "urosjarc",
          "author_url": "",
          "post_date": "08/18/2022 17:35:35",
          "content": "<p>Its interesting that accuracy is evaluating but loss is not, can you post the code so that I can check what you are doing please.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1905063,
          "author_name": "amzadhossainrafi",
          "author_url": "",
          "post_date": "08/18/2022 18:01:28",
          "content": "<p>I don't know how much you will understand . Please ignore my noob coding. you can clone it from here .</p>\n<p><a href=\"url\" target=\"_blank\">https://github.com/AmzadHossainrafis/project2</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1905112,
          "author_name": "urosjarc",
          "author_url": "",
          "post_date": "08/18/2022 18:34:46",
          "content": "<p>Oh you have full project on github, joust like me,<br>\ncan you create minimal working example I can help you then, but I will not debug whole project.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1905315,
          "author_name": "amzadhossainrafi",
          "author_url": "",
          "post_date": "08/18/2022 23:31:28",
          "content": "<p>can i have your mail . kaggle is not allowing to share github </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1905361,
          "author_name": "urosjarc",
          "author_url": "",
          "post_date": "08/19/2022 02:30:10",
          "content": "<p>Put it on gist: <a href=\"https://gist.github.com/\" target=\"_blank\">https://gist.github.com/</a> so that every body can see and help you.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1907832,
      "author_name": "maunilshah",
      "author_url": "",
      "post_date": "08/21/2022 05:56:03",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/amzadhossainrafi\" target=\"_blank\">@amzadhossainrafi</a>, make sure you've used a non-linear activation function like sigmoid or softmax in your final convolution layer.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1908438,
          "author_name": "amzadhossainrafi",
          "author_url": "",
          "post_date": "08/21/2022 17:13:24",
          "content": "<p>thq sir for your advice . But I already solve this problem . I was facing this prb becoz of my mask loading process .. </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1909052,
      "author_name": "gray98",
      "author_url": "",
      "post_date": "08/22/2022 09:09:50",
      "content": "<p>You can try official loss functions, such as nn.CrossEntropyLoss(). If this does not solve your problem, you can try print the value of your prediction and the value of ground truth, and check what is wrong. </p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1904552": "![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2F5f8cbb64604c44e8019f1043d96b14e6%2FScreenshot%202022-08-18%20144054.png?generation=1660814723722264&alt=media)\n\n\nno matter what kind of loss function I use I get loss == non .. is there any one who can help me out ??",
    "1904604": "You are evaluating first epoch, wait after first epoch and tell if there is still nan value.",
    "1904634": "Fp16?\nLower learning rate",
    "1904764": "sakvaua  sir lr=0.001 , what do you suggest ??",
    "1904765": "urosjarc sir \n ![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F6231775%2Fd8db77af148c1b8f103ddaac3582d799%2FScreenshot%202022-08-18%20191334.png?generation=1660828508639575&alt=media) \n😭😭😭",
    "1905027": "Its interesting that accuracy is evaluating but loss is not, can you post the code so that I can check what you are doing please.",
    "1905063": "I don't know how much you will understand . Please ignore my noob coding. you can clone it from here .\n\n  [https://github.com/AmzadHossainrafis/project2](url)",
    "1905112": "Oh you have full project on github, joust like me,\ncan you create minimal working example I can help you then, but I will not debug whole project.",
    "1905315": "can i have your mail . kaggle is not allowing to share github",
    "1905361": "Put it on gist: https://gist.github.com/ so that every body can see and help you.",
    "1907832": "Hi @amzadhossainrafi, make sure you've used a non-linear activation function like sigmoid or softmax in your final convolution layer.",
    "1908438": "thq sir for your advice . But I already solve this problem . I was facing this prb becoz of my mask loading process ..",
    "1909052": "You can try official loss functions, such as nn.CrossEntropyLoss(). If this does not solve your problem, you can try print the value of your prediction and the value of ground truth, and check what is wrong."
  },
  "source": "meta"
}