Skip to content

keras sequential module issues #4

Open
@ghost

Description

I'm facing this error when trying to run my rnn which runs well in google colab.
Traceback (most recent call last): File "rnn_prediction.py", line 30, in <module> from keras.models import Sequential File "/home/***/.local/lib/python3.6/site-packages/keras/__init__.py", line 20, in <module> from keras import distribute File "/home/***/.local/lib/python3.6/site-packages/keras/distribute/__init__.py", line 18, in <module> from keras.distribute import sidecar_evaluator File "/home/***/.local/lib/python3.6/site-packages/keras/distribute/sidecar_evaluator.py", line 22, in <module> from keras.optimizers.optimizer_experimental import ( File "/home/***/.local/lib/python3.6/site-packages/keras/optimizers/__init__.py", line 25, in <module> from keras import backend File "/home/***/.local/lib/python3.6/site-packages/keras/backend.py", line 32, in <module> from keras import backend_config File "/home/***/.local/lib/python3.6/site-packages/keras/backend_config.py", line 33, in <module> @tf.__internal__.dispatch.add_dispatch_support AttributeError: module 'tensorflow.compat.v2.__internal__' has no attribute 'dispatch'
Any brave ideas, how to overcome this, are much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions