You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was trying to run some simple test on rnn, but the usage is too confusing. i tried the sample command in the README and got the error:
root@e57eeea7640c:~/tfrnnlm# echo 'abc efg' > text.txt
root@e57eeea7640c:~/tfrnnlm# tfrnnlm train text.txt model
Traceback (most recent call last):
File "/usr/local/bin/tfrnnlm", line 11, in <module>
load_entry_point('tfrnnlm==1.0.0', 'console_scripts', 'tfrnnlm')()
File "build/bdist.linux-x86_64/egg/tfrnnlm/main.py", line 17, in main
File "/usr/lib/python2.7/argparse.py", line 1701, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/usr/lib/python2.7/argparse.py", line 1733, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib/python2.7/argparse.py", line 1942, in _parse_known_args
stop_index = consume_positionals(start_index)
File "/usr/lib/python2.7/argparse.py", line 1898, in consume_positionals
take_action(action, args)
File "/usr/lib/python2.7/argparse.py", line 1807, in take_action
action(self, namespace, argument_values, option_string)
File "/usr/lib/python2.7/argparse.py", line 1096, in __call__
subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
File "/usr/lib/python2.7/argparse.py", line 1733, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib/python2.7/argparse.py", line 1942, in _parse_known_args
stop_index = consume_positionals(start_index)
File "/usr/lib/python2.7/argparse.py", line 1898, in consume_positionals
take_action(action, args)
File "/usr/lib/python2.7/argparse.py", line 1791, in take_action
argument_values = self._get_values(action, argument_strings)
File "/usr/lib/python2.7/argparse.py", line 2231, in _get_values
value = self._get_value(action, arg_string)
File "/usr/lib/python2.7/argparse.py", line 2260, in _get_value
result = type_func(arg_string)
File "build/bdist.linux-x86_64/egg/tfrnnlm/text.py", line 254, in deserialize
IOError: [Errno 20] Not a directory: 'text.txt/vocabulary.pkl'
root@e57eeea7640c:~/tfrnnlm#
The text was updated successfully, but these errors were encountered:
i was trying to run some simple test on rnn, but the usage is too confusing. i tried the sample command in the README and got the error:
The text was updated successfully, but these errors were encountered: