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

readme is not clear about the usage #1

Open
reachlin opened this issue Sep 4, 2017 · 0 comments
Open

readme is not clear about the usage #1

reachlin opened this issue Sep 4, 2017 · 0 comments

Comments

@reachlin
Copy link

reachlin commented Sep 4, 2017

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# 
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