Skip to content

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

Description

@Abonia1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions