# Помогите пожалуйста (Please help)

**URL:** <https://discuss.python.org/t/please-help/41321>\
**Category:** Python Help\
**Created:** [December 17, 2023, 6:12pm UTC](https://discuss.python.org/t/please-help/41321 "2023-12-17T18:12:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![hansgeunsmeyer](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/hansgeunsmeyer/32/15188_2.png) [@hansgeunsmeyer](https://discuss.python.org/u/hansgeunsmeyer)\
**Post date:** [December 17, 2023, 7:54pm UTC](https://discuss.python.org/t/please-help/41321/3 "2023-12-17T19:54:29Z")

</div>

Before posting code, please read how to do this: [About the Python Help category](https://discuss.python.org/t/about-the-python-help-category/42)

In your code `models` and `layers` are not defined. You need to replace

```auto
from tensorflow import keras

```

by

```auto
from tensorflow.keras import models, layers

```

---

_[View the full topic](https://discuss.python.org/t/please-help/41321)._
