Traceback (most recent call last):


 "/home/mansi.gupta/texar/examples/transformer/utils/preprocess.py", line 144, in <module>

src_cntr = count_words(source_path, args.source_vocab, args.tok)


 "/home/mansi.gupta/texar/examples/transformer/utils/preprocess.py", line 69, in count_words

for words in read_file(path, tok):


 "/home/mansi.gupta/texar/examples/transformer/utils/preprocess.py", line 60, in read_file

with open_file(path) as f:


 "/home/mansi.gupta/texar/examples/transformer/utils/preprocess.py", line 55, in open_file

return open(path, encoding='utf-8')

NotFoundError: [Errno 2] No such file or directory: 'temp/run_en_de_bpe/data/train.en.bpe'

Traceback (most recent call last):

 "c:\Python3\lib\threading.py", line 920, in _bootstrap_inner
self.run()

 "c:\Python3\lib\threading.py", line 868, in run
self._target(_self._args, *_self._kwargs)

 "D:\Sublime\Data\Packages/SublimeREPL/config/Python/ipy_repl.py", line 109, in handle
send_netstring(s, b"[]")

 "D:\Sublime\Data\Packages/SublimeREPL/config/Python/ipy_repl.py", line 86, in send_netstring
payload = b"".join([str(len(msg)).encode("ascii"), b':', msg.encode("utf-8"), b','])AttributeError: 'bytes' object has no attribute 'encode'