{
  "id": 134470,
  "title": "Notebook Threw Exception",
  "url": "/competitions/bengaliai-cv19/discussion/134470",
  "author_name": "",
  "post_date": "2020-03-08T10:46:45.144447300Z",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Hello everyone, it has been 4 days now that I try to submit my notebook but I am always getting \"Notebook Threw Exception\".\nI have done the following:\n1) create the script\n2) load my keras model.h5 file as dataset\n3) commit the kernel\n4) submit</p>\n\n<p>I also tried to set 'latest available docker', but nothing changed.\nThe only time I could submit, was when I did not invert the image (img = 255 - img) or when I tried a sample submission which was just outputting dummy values (no model, preprocessing were involved).</p>\n\n<p>Can someone help me to figure out what is the issue here?\nThanks!</p>",
  "messages": [
    {
      "id": "766545",
      "postDate": "03/08/2020 10:46:45",
      "content": "<p>Hello everyone, it has been 4 days now that I try to submit my notebook but I am always getting \"Notebook Threw Exception\".\nI have done the following:\n1) create the script\n2) load my keras model.h5 file as dataset\n3) commit the kernel\n4) submit</p>\n\n<p>I also tried to set 'latest available docker', but nothing changed.\nThe only time I could submit, was when I did not invert the image (img = 255 - img) or when I tried a sample submission which was just outputting dummy values (no model, preprocessing were involved).</p>\n\n<p>Can someone help me to figure out what is the issue here?\nThanks!</p>",
      "rawMarkdown": "Hello everyone, it has been 4 days now that I try to submit my notebook but I am always getting \"Notebook Threw Exception\".\nI have done the following:\n1) create the script\n2) load my keras model.h5 file as dataset\n3) commit the kernel\n4) submit\n\nI also tried to set 'latest available docker', but nothing changed.\nThe only time I could submit, was when I did not invert the image (img = 255 - img) or when I tried a sample submission which was just outputting dummy values (no model, preprocessing were involved).\n\nCan someone help me to figure out what is the issue here?\nThanks!",
      "votes": null
    },
    {
      "id": "767020",
      "postDate": "03/09/2020 03:31:29",
      "content": "<p>I think if you share your script (w/0 model definition of course), then it would be better understand. 🙂 </p>",
      "rawMarkdown": "I think if you share your script (w/0 model definition of course), then it would be better understand. 🙂",
      "votes": null
    },
    {
      "id": "768459",
      "postDate": "03/10/2020 20:34:43",
      "content": "",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "768464",
      "postDate": "03/10/2020 20:39:24",
      "content": "<p>I could finally solve the issue.\nto reverse the image do not do:\n255 - image\nuse instead:\ncv2.threshold</p>\n\n<p>I don't know why this is a problem, because both solutions should work.\nI hope this will help also others.</p>",
      "rawMarkdown": "I could finally solve the issue.\nto reverse the image do not do:\n255 - image\nuse instead:\ncv2.threshold\n\nI don't know why this is a problem, because both solutions should work.\nI hope this will help also others.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 767020,
      "author_name": "ipythonx",
      "author_url": "",
      "post_date": "03/09/2020 03:31:29",
      "content": "<p>I think if you share your script (w/0 model definition of course), then it would be better understand. 🙂 </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 768459,
      "author_name": "dforinoaisolutions",
      "author_url": "",
      "post_date": "03/10/2020 20:34:43",
      "content": "",
      "votes": null,
      "replies": []
    },
    {
      "id": 768464,
      "author_name": "dforinoaisolutions",
      "author_url": "",
      "post_date": "03/10/2020 20:39:24",
      "content": "<p>I could finally solve the issue.\nto reverse the image do not do:\n255 - image\nuse instead:\ncv2.threshold</p>\n\n<p>I don't know why this is a problem, because both solutions should work.\nI hope this will help also others.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "766545": "Hello everyone, it has been 4 days now that I try to submit my notebook but I am always getting \"Notebook Threw Exception\".\nI have done the following:\n1) create the script\n2) load my keras model.h5 file as dataset\n3) commit the kernel\n4) submit\n\nI also tried to set 'latest available docker', but nothing changed.\nThe only time I could submit, was when I did not invert the image (img = 255 - img) or when I tried a sample submission which was just outputting dummy values (no model, preprocessing were involved).\n\nCan someone help me to figure out what is the issue here?\nThanks!",
    "767020": "I think if you share your script (w/0 model definition of course), then it would be better understand. 🙂",
    "768459": "",
    "768464": "I could finally solve the issue.\nto reverse the image do not do:\n255 - image\nuse instead:\ncv2.threshold\n\nI don't know why this is a problem, because both solutions should work.\nI hope this will help also others."
  },
  "source": "meta"
}