{
  "id": 513095,
  "title": "TypeError:\"Nonetype object is not callable\"",
  "url": "/competitions/leap-atmospheric-physics-ai-climsim/discussion/513095",
  "author_name": "Aristotle.Chen",
  "post_date": "2024-06-18T15:09:17.526000",
  "votes": 0,
  "comment_count": 2,
  "views": 0,
  "content": "<p>greetings Kaggle users!<br>\nI used up 30 hours of GPU time, so I used a colab-like platform to train the public baseline.Configuring the tensorflow environment was indeed quite difficult, and I was only able to set up tensorflow as 2.15 、keras as 3.21 (I've modified the function expression very much in different versions）</p>\n<p>Currently this block code will appear TypeErro:\"Nonetype object is not callable\"，Does anyone know what's going on here? Thank you very much for your help and support!（I've been consulting information all day and can't get it to debug, it works fine on kaggle)</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2F24c274ca109bb31803838ae2d6b4501c%2F1.png?generation=1718723244791641&amp;alt=media\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2Fd7df1b803ada6922f14e6715549f3093%2F2.png?generation=1718723258674037&amp;alt=media\"></p>",
  "messages": [
    {
      "id": 2878244,
      "postDate": "2024-06-18T20:07:11.467Z",
      "content": "<p>Did the model build properly?</p>",
      "rawMarkdown": "Did the model build properly?"
    },
    {
      "id": 2878077,
      "postDate": "2024-06-18T18:06:01.953Z",
      "content": "<p>Did you run the same cell twice? I sometimes get this error after blocking the training of a model containing a <code>Normalization</code> layer and trying to run <code>model.fit</code> again</p>",
      "rawMarkdown": "Did you run the same cell twice? I sometimes get this error after blocking the training of a model containing a `Normalization` layer and trying to run `model.fit` again"
    },
    {
      "id": 2877791,
      "postDate": "2024-06-18T15:09:17.527Z",
      "content": "<p>greetings Kaggle users!<br>\nI used up 30 hours of GPU time, so I used a colab-like platform to train the public baseline.Configuring the tensorflow environment was indeed quite difficult, and I was only able to set up tensorflow as 2.15 、keras as 3.21 (I've modified the function expression very much in different versions）</p>\n<p>Currently this block code will appear TypeErro:\"Nonetype object is not callable\"，Does anyone know what's going on here? Thank you very much for your help and support!（I've been consulting information all day and can't get it to debug, it works fine on kaggle)</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2F24c274ca109bb31803838ae2d6b4501c%2F1.png?generation=1718723244791641&amp;alt=media\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2Fd7df1b803ada6922f14e6715549f3093%2F2.png?generation=1718723258674037&amp;alt=media\"></p>",
      "rawMarkdown": "greetings Kaggle users!\nI used up 30 hours of GPU time, so I used a colab-like platform to train the public baseline.Configuring the tensorflow environment was indeed quite difficult, and I was only able to set up tensorflow as 2.15 、keras as 3.21 (I've modified the function expression very much in different versions）\n\nCurrently this block code will appear TypeErro:\"Nonetype object is not callable\"，Does anyone know what's going on here? Thank you very much for your help and support!（I've been consulting information all day and can't get it to debug, it works fine on kaggle)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2F24c274ca109bb31803838ae2d6b4501c%2F1.png?generation=1718723244791641&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2Fd7df1b803ada6922f14e6715549f3093%2F2.png?generation=1718723258674037&alt=media)\n\n\n\n\n"
    }
  ],
  "comments": [
    {
      "id": 2878244,
      "author_name": "Rob Freeman",
      "author_url": "",
      "post_date": "2024-06-18T20:07:11.467000",
      "content": "<p>Did the model build properly?</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2878077,
      "author_name": "Amedeo Biolatti",
      "author_url": "",
      "post_date": "2024-06-18T18:06:01.953000",
      "content": "<p>Did you run the same cell twice? I sometimes get this error after blocking the training of a model containing a <code>Normalization</code> layer and trying to run <code>model.fit</code> again</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2878244": "Did the model build properly?",
    "2878077": "Did you run the same cell twice? I sometimes get this error after blocking the training of a model containing a `Normalization` layer and trying to run `model.fit` again",
    "2877791": "greetings Kaggle users!\nI used up 30 hours of GPU time, so I used a colab-like platform to train the public baseline.Configuring the tensorflow environment was indeed quite difficult, and I was only able to set up tensorflow as 2.15 、keras as 3.21 (I've modified the function expression very much in different versions）\n\nCurrently this block code will appear TypeErro:\"Nonetype object is not callable\"，Does anyone know what's going on here? Thank you very much for your help and support!（I've been consulting information all day and can't get it to debug, it works fine on kaggle)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2F24c274ca109bb31803838ae2d6b4501c%2F1.png?generation=1718723244791641&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F21108226%2Fd7df1b803ada6922f14e6715549f3093%2F2.png?generation=1718723258674037&alt=media)\n\n\n\n\n"
  }
}