Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

maybe version issue #12

@SeekPoint

Description

@SeekPoint

ub16hp@UB16HP:/ub16_prj/Sequence-Semantic-Embedding$ make train-crosslingual
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:
/ub16_prj/Sequence-Semantic-Embedding$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions