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

请问你的keras和tensorflow的版本是什么 #12

Open
CerryXu opened this issue Jan 3, 2020 · 1 comment
Open

请问你的keras和tensorflow的版本是什么 #12

CerryXu opened this issue Jan 3, 2020 · 1 comment

Comments

@CerryXu
Copy link

CerryXu commented Jan 3, 2020

Using TensorFlow backend. Traceback (most recent call last): File "E:/AI/Attention/transformer-word-segmenter/examples/decode_example.py", line 3, in <module> from tf_segmenter import get_or_create, TFSegmenter File "E:\AI\Attention\transformer-word-segmenter\tf_segmenter\__init__.py", line 21, in <module> from keras_transformer.transformer import TransformerACT, TransformerBlock File "E:\Python\Anaconda3\envs\your_env_name\lib\site-packages\keras_transformer\transformer.py", line 12, in <module> from keras.layers import Layer, Add, Activations, Dropout ImportError: cannot import name 'Activations'

我运行工厂函数 get_or_create就会出现这种错误

@wuyun-926
Copy link

me too

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