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

./setup.lua:130: attempt to call field '?' (a nil value) #3

Open
novinsh opened this issue Feb 23, 2018 · 1 comment
Open

./setup.lua:130: attempt to call field '?' (a nil value) #3

novinsh opened this issue Feb 23, 2018 · 1 comment

Comments

@novinsh
Copy link

novinsh commented Feb 23, 2018

When run make run_soccer I receive this error. Do you have any suggestion?

th train_soccer_agent.lua -agent "QBNeuralQLearner" -agent_params "lr="0.0005",ep="0.3",ep_end="0.1",ep_endt="500000",discount="0.9",learn_start="1000",update_freq="4",minibatch_size=64,rescale_r=1,bufferSize=512,valid_size=500,target_q=10000,clip_delta=1,replay_memory=100000,n_experts=3,model='concat '" -opponent RandomAgent -games 5000 -eval_games 5000 -hist_len 2 -eval_freq 0   -prog_freq 500 -gpuid -1 -threads 8 -test 0 -network "" -best -savefile "" -height 6 -width 9 -defend 0.5 -seed 1
defensive agent:	0.5	
state dim: 	15	
/home/novin/torch/install/bin/lua: ./setup.lua:130: attempt to call field '?' (a nil value)
stack traceback:
	./setup.lua:130: in function 'soccer_dqn_setup'
	train_soccer_agent.lua:51: in main chunk
	[C]: in function 'dofile'
	...ovin/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: in ?
Makefile:108: recipe for target 'run_soccer' failed
make: *** [run_soccer] Error 1
@hhexiy
Copy link
Owner

hhexiy commented Feb 25, 2018

-agent "QBNeuralQLearner" should be -agent "SoccerNeuralQLearner"

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

2 participants