Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error When importing "import apply_regularization, l2_regularizer" #1

Open
anandece4u opened this issue Mar 24, 2021 · 1 comment

Comments

@anandece4u
Copy link

Hi I am getting error while running the notebook in line where we are importing

from tensorflow.contrib.layers import apply_regularization, l2_regularizer

`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in
15
16 import tensorflow as tf
---> 17 from tensorflow.contrib.layers import apply_regularization, l2_regularizer
18
19 import bottleneck as bn

ModuleNotFoundError: No module named 'tensorflow.contrib'`

Please help

@hasteck
Copy link
Owner

hasteck commented Apr 7, 2021

I used Tensorflow 1.15.0 in this notebook. Do you use a newer version of TF?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants