Skip to content

the running environment of the code #2

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

Open
whaozl opened this issue Sep 1, 2018 · 2 comments
Open

the running environment of the code #2

whaozl opened this issue Sep 1, 2018 · 2 comments

Comments

@whaozl
Copy link

whaozl commented Sep 1, 2018

No description provided.

@JianWenJun
Copy link
Owner

@whaozl sorry, I forget to add this requirement file. the version require as follows:
python 2.7
tensorflow 1.5
keras 2.1.6
gensim 3.4.0
pandas 0.22.0
sklearn 0.19.1
lightgbm 2.1.1
xgboost 0.71
jieba 0.39

@JianWenJun JianWenJun changed the title Can you talk about the running environment of the code, such as tensorflow version python version, etc. the running environment of the code Sep 1, 2018
@whaozl
Copy link
Author

whaozl commented Sep 1, 2018

@JianWenJun I see the python3 note.
but core_rnn and core_rnn_cell_impl is not found.
I really want to run on python3 and tf1.8.
Can you provide some steps about the running of your seq2seq code?

# in the https://github.com/JianWenJun/MLDemo/tree/master/NLP/Seq2Seq/seq2seq_attn.py
# We disable pylint because we need python3 compatibility.
from six.moves import xrange  # pylint: disable=redefined-builtin
from six.moves import zip  # pylint: disable=redefined-builtin
from tensorflow.contrib.rnn.python.ops import core_rnn
from tensorflow.contrib.rnn.python.ops import core_rnn_cell
from tensorflow.contrib.rnn.python.ops import core_rnn_cell_impl

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