-
Notifications
You must be signed in to change notification settings - Fork 117
maybe version issue #12
Description
ub16hp@UB16HP:/ub16_prj/Sequence-Semantic-Embedding$ make train-crosslingual/ub16_prj/Sequence-Semantic-Embedding$
python sse_train.py --task_type=crosslingual --data_dir=rawdata-crosslingual --model_dir=models-crosslingual --device=0 --learning_rate=0.9 --embedding_size=40 --encoding_size=50 --max_seq_length=50 --batch_size=32 --max_epoc=1000 --steps_per_checkpoint=200 --network_mode=shared-encoder
Traceback (most recent call last):
File "sse_train.py", line 44, in
import tensorflow as tf
File "/usr/local/lib/python2.7/dist-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/init.py", line 82, in
from tensorflow.python import keras
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/init.py", line 24, in
from tensorflow.python.keras import activations
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/activations/init.py", line 22, in
from tensorflow.python.keras._impl.keras.activations import elu
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/_impl/keras/init.py", line 21, in
from tensorflow.python.keras._impl.keras import activations
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/_impl/keras/activations.py", line 23, in
from tensorflow.python.keras._impl.keras import backend as K
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/_impl/keras/backend.py", line 36, in
from tensorflow.python.layers import base as tf_base_layers
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/base.py", line 25, in
from tensorflow.python.keras.engine import base_layer
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/init.py", line 23, in
from tensorflow.python.keras.engine.base_layer import Layer
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/base_layer.py", line 34, in
from tensorflow.python.keras import backend
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/backend/init.py", line 22, in
from tensorflow.python.keras._impl.keras.backend import abs
ImportError: cannot import name abs
makefile:42: recipe for target 'train-crosslingual' failed
make: *** [train-crosslingual] Error 1
ub16hp@UB16HP: