-
Notifications
You must be signed in to change notification settings - Fork 804
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
Got ConfigParser.NoSectionError: No section: 'ints' #81
Comments
set the .ini file to be absolute path |
how |
@DvHuang , that doesn't seem to work either. |
in def get_config function (in execute.py) try set absolute path for 'seq2seq.ini'. Should look like '/path/to/dir/seq2seq.ini'. Try define absolute paths for working_dir/ in the .inis as well. |
Just comment these bits out as shown here, it got me to the next step: |
Give the absolute path for 'seq2seq.ini'. Should look like '/path/to/dir/seq2seq.ini'. Its work for me. |
Thanks , By giving absolute path for "config.ini" , it is working for me |
File "app.py", line 28, in
sess, model, enc_vocab, rev_dec_vocab = execute.init_session(sess, conf='seq2seq_serve.ini')
File "execute.py", line 295, in init_session
gConfig = get_config(conf)
File "execute.py", line 55, in get_config
_conf_ints = [(key, int(value)) for key, value in parser.items('ints')]
File "lib/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'ints'
I am getting this error after training and while testing.Anyone help me to correct this issue.
The text was updated successfully, but these errors were encountered: