-
Notifications
You must be signed in to change notification settings - Fork 110
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
list index out of range #39
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While testing on giga word dataset ... i faced with this error
Traceback (most recent call last):
File "src/summarization.py", line 241, in
tf.app.run()
File "C:\Users\spars\Anaconda3\envs\tensor_model\lib\site-packages\tensorflow\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "C:\Users\spars\Anaconda3\envs\tensor_model\lib\site-packages\absl\app.py", line 300, in run
_run_main(main, args)
File "C:\Users\spars\Anaconda3\envs\tensor_model\lib\site-packages\absl\app.py", line 251, in _run_main
sys.exit(main(argv))
File "src/summarization.py", line 229, in main
decode()
File "src/summarization.py", line 186, in decode
doc_dict = data_util.load_dict(FLAGS.data_dir + "/doc_dict.txt")
File "D:\ML\Summary_maker\src\data_util.py", line 30, in load_dict
tok2id = dict(map(lambda x: (x[1], int(x[0])), dict_data))
File "D:\ML\Summary_maker\src\data_util.py", line 30, in
tok2id = dict(map(lambda x: (x[1], int(x[0])), dict_data))
IndexError: list index out of range
Please Help
The text was updated successfully, but these errors were encountered: