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

IndexError in train.py #6

Open
daventhedude opened this issue Jul 29, 2018 · 2 comments
Open

IndexError in train.py #6

daventhedude opened this issue Jul 29, 2018 · 2 comments

Comments

@daventhedude
Copy link

Hey, could someone help me with my problem? What am i overseeing? :)

stock_name, window_size, episode_count = sys.argv[1], int(sys.argv[2]), int(sys.argv[3])

IndexError: list index out of range

Kernel died, restarting

@xtr33me
Copy link

xtr33me commented Aug 2, 2018

Sorry really not enough to go off here. However, I'd open this in your favorite IDE...VSCode or whatever your choice and put a breakpoint there and see what the value of sys.argv is. It might give you a little more of a clue as to what is going on there.

@iorobot
Copy link

iorobot commented Aug 27, 2018

how are you running the training?
I think the error is telling you that you use not enough arguments.
Be sure to use 3 arguments when running like
python train.py ^GSPC 10 1000

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

3 participants