-
Notifications
You must be signed in to change notification settings - Fork 32
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
Getting an index error #1
Comments
@Niko2756 try just using a one word argument in the command line like test.py hello still get an error? i think the error has to due with parsing the number of words from the command line. it may be too many different words |
I am getting this: Nicholass-MacBook-Pro:syntaxnet Niko$ python test.py hello I think I've installed everything except the one thing that is not working and not installed is this: bazel test --linkopt=-headerpad_max_install_names could that be causing the error? When I try to run the bazel test i get this:
I'm going to keep on working on it, But any help would be super appreciated. |
@Niko2756 did you ever figure this out? if so if you could make a PR i'd merge it thanks |
I get the same type of error. But I also have a problem with "/bin/sh: syntaxnet/demo.sh:" Here's what I'm getting $ python /Users/MyName/Desktop/AIReader/AI.py What is the most important word in this sentence? |
Also have the same error! And also the AI_Writer also doesn't work. 2 beautiful projects that are broken @llSourcell time to fix both?? :) |
print(sys.argv[1])
IndexError: list index out of range
Hey I'm getting a index error when I try and run test.py and also when I made my own copy of test.py. It looks like whatever array that argv[1] is referring to has not been made by the time is referred to at the top of test.py. My question is where is this array located so I can fix it or has anyone else come up with this error and found a solution
also getting an IndexError here as well
/syntaxnet/demo_lib.py", line 21, in get_root_word
root = dependency_tree[2].split()[0]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: