error import autokeras #1677
Unanswered
IlyaNefedov
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day! Please help solve the error.
Using anaconda, spider, tensorflow 2.8.0 and keras 2.8.0
import autokeras as ak
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Temp/ipykernel_19356/4204460325.py", line 1, in
import autokeras as ak
File "E:\Anaconda3\envs\ak\lib\site-packages\autokeras_init_.py", line 15, in
from autokeras.auto_model import AutoModel
File "E:\Anaconda3\envs\ak\lib\site-packages\autokeras\auto_model.py", line 26, in
from autokeras import graph as graph_module
File "E:\Anaconda3\envs\ak\lib\site-packages\autokeras\graph.py", line 24, in
from autokeras.utils import io_utils
File "E:\Anaconda3\envs\ak\lib\site-packages\autokeras\utils\io_utils.py", line 21, in
from keras.preprocessing import dataset_utils
File "E:\Anaconda3\envs\ak\lib\site-packages\keras_init_.py", line 25, in
from keras import models
File "E:\Anaconda3\envs\ak\lib\site-packages\keras\models.py", line 19, in
from keras import backend
File "E:\Anaconda3\envs\ak\lib\site-packages\keras\backend.py", line 301, in
tf.internal.register_clear_session_function(clear_session)
AttributeError: module 'tensorflow.compat.v2.internal' has no attribute 'register_clear_session_function'
Beta Was this translation helpful? Give feedback.
All reactions