You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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就会出现这种错误
The text was updated successfully, but these errors were encountered:
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就会出现这种错误
The text was updated successfully, but these errors were encountered: