opponent
opponent copied to clipboard
./setup.lua:130: attempt to call field '?' (a nil value)
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
-agent "QBNeuralQLearner"
should be -agent "SoccerNeuralQLearner"