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

Error to try execute gloss to de #16

Open
kyumiouchi opened this issue Apr 24, 2019 · 0 comments
Open

Error to try execute gloss to de #16

kyumiouchi opened this issue Apr 24, 2019 · 0 comments

Comments

@kyumiouchi
Copy link

Parameter:
python -m nmt --src=gloss --tgt=de --train_prefix=../Data/phoenix2014T.train --dev_prefix=../Data/phoenix2014T.dev --test_prefix=../Data/phoenix2014T.test --out_dir=../OutDir --vocab_prefix=../Data/phoenix2014T.vocab --source_reverse=True --num_units=1000 --num_layers=4 --num_train_steps=150000 --residual=True --attention=luong --base_gpu=0 --unit_type=gru

Error:
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_1/gru_cell/candidate/kernel:0, (2000, 1000), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_1/gru_cell/candidate/bias:0, (1000,), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_2/gru_cell/gates/kernel:0, (2000, 2000), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_2/gru_cell/gates/bias:0, (2000,), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_2/gru_cell/candidate/kernel:0, (2000, 1000), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_2/gru_cell/candidate/bias:0, (1000,), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_3/gru_cell/gates/kernel:0, (2000, 2000), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_3/gru_cell/gates/bias:0, (2000,), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_3/gru_cell/candidate/kernel:0, (2000, 1000), /device:GPU:0
dynamic_seq2seq/decoder/attention/multi_rnn_cell/cell_3/gru_cell/candidate/bias:0, (1000,), /device:GPU:0
dynamic_seq2seq/decoder/attention/attention_layer/kernel:0, (2000, 1000), /device:GPU:0
dynamic_seq2seq/decoder/output_projection/kernel:0, (1000, 2891),

log_file=../OutDir2/log_1556075956

created train model with fresh parameters, time 0.83s
created infer model with fresh parameters, time 0.16s

301

Traceback (most recent call last):
File "/hd/anaconda2/envs/gpu0/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/hd/anaconda2/envs/gpu0/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/ssd/repositorio/nslt-ufam-v2/nslt/nmt.py", line 378, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/hd/anaconda2/envs/gpu0/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "/ssd/repositorio/nslt-ufam-v2/nslt/nmt.py", line 368, in main
run_main(FLAGS, default_hparams, train_fn, inference_fn)
File "/ssd/repositorio/nslt-ufam-v2/nslt/nmt.py", line 361, in run_main
train_fn(hparams, target_session=target_session)
File "train.py", line 265, in train
run_full_eval(model_dir, infer_model, infer_sess, eval_model, eval_sess, hparams, summary_writer, sample_src_data, sample_tgt_data)
File "train.py", line 188, in run_full_eval
run_sample_decode(infer_model, infer_sess, model_dir, hparams, summary_writer, sample_src_data, sample_tgt_data)
File "train.py", line 135, in run_sample_decode
_sample_decode(loaded_infer_model, global_step, infer_sess, hparams, infer_model.iterator, src_data, tgt_data, infer_model.src_placeholder, summary_writer)
File "train.py", line 418, in _sample_decode
nmt_outputs, attention_summary = model.decode(sess)
File "model.py", line 409, in decode
_, infer_summary, _, sample_words = self.infer(sess)
File "model.py", line 397, in infer
return sess.run([self.infer_logits, self.infer_summary, self.sample_id, self.sample_words])
File "/hd/anaconda2/envs/gpu0/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 889, in run
run_metadata_ptr)
File "/hd/anaconda2/envs/gpu0/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1120, in _run
feed_dict_tensor, options, run_metadata)
File "/hd/anaconda2/envs/gpu0/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
options, run_metadata)
File "/hd/anaconda2/envs/gpu0/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: exceptions.OSError: [Errno 2] No such file or directory: 'DANN WETTER WECHSELHAFT'
[[Node: PyFunc = PyFuncTin=[DT_STRING], Tout=[DT_INT32], token="pyfunc_4"]]
[[Node: IteratorGetNext = IteratorGetNextoutput_shapes=[[300,227,227,3], [1]], output_types=[DT_FLOAT, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Can you help me?

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

1 participant