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

No source found error while try to run execute.py.I do have vocab decoder and encoder data in working dir #86

Open
Abonia1 opened this issue Jun 28, 2018 · 0 comments

Comments

@Abonia1
Copy link

Abonia1 commented Jun 28, 2018

C:\Users\asojasingarayar\AppData\Local\Continuum\anaconda\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters

Mode : train

Preparing data in working_dir/
Tokenizing data in data/train.enc
Traceback (most recent call last):
File "execute.py", line 320, in
train()
File "execute.py", line 128, in train
enc_train, dec_train, enc_dev, dec_dev, _, _ = data_utils.prepare_custom_data(gConfig['working_directory'],gConfig['train_enc'],gConfig['train_dec'],gConfig['test_enc'],gConfig['test_dec'],gConfig['enc_vocab_size'],gConfig['dec_vocab_size'])
File "C:\wamp\www\ML-CNN-NLP-SentimentAnalyse\tensorflow_chatbot\data_utils.py", line 137, in prepare_custom_data
data_to_token_ids(train_enc, enc_train_ids_path, enc_vocab_path, tokenizer)
File "C:\wamp\www\ML-CNN-NLP-SentimentAnalyse\tensorflow_chatbot\data_utils.py", line 116, in data_to_token_ids
for line in data_file:
File "C:\Users\asojasingarayar\AppData\Local\Continuum\anaconda\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 215, in next
return self.next()
File "C:\Users\asojasingarayar\AppData\Local\Continuum\anaconda\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 209, in next
retval = self.readline()
File "C:\Users\asojasingarayar\AppData\Local\Continuum\anaconda\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 178, in readline
self._preread_check()
File "C:\Users\asojasingarayar\AppData\Local\Continuum\anaconda\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 80, in _preread_check
compat.as_bytes(self.__name), 1024 * 512, status)
File "C:\Users\asojasingarayar\AppData\Local\Continuum\anaconda\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 519, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: NewRandomAccessFile failed to Create/Open: data/train.enc : The system cannot find the path specified.
; No such process

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