Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Error assert failed #4

@SeekPoint

Description

@SeekPoint

mldl@mldlUB1604:/ub16_prj/CommNet$ th main.lua
starting 18 workers
{
dcomm_entropy_cost : 0
comm_mode : "avg"
batch_size : 16
nagents : 1
init_std : 0.2
model : "mlp"
unshare_hops : false
show : false
comm_zero_init : false
adam_beta1 : 0.9
lrate : 0.001
recurrent : false
unroll : 0
nhop : 1
nminds : 1
momentum : 0
nactions : 6
reward_mult : 1
comm : false
multigames :
{
Crossing :
{
RangeOpts :
{
mapW : FloatTensor - size: 5
add_rate : FloatTensor - size: 5
mapH : FloatTensor - size: 5
}
StaticOpts :
{
enable_boundary : 0
push_action : 0
flag_visited : 0
nagents : 1
max_agents : 1
costs :
{
step : 0
wait : 0.01
goal : 0
collision : 10
pass : 0
}
crumb_action : 0
enable_corners : 0
add_block : false
visibility : 1
}
}
}
comm_scale_div : 1
encoder_lut : false
nbatches : 100
max_steps : 20
comm_range : 0
encoder_lut_size : 50
hidsz : 50
optim : "rmsprop"
game : ""
nactions_comm : 1
curriculum_end : 0
adam_beta2 : 0.999
rmsprop_alpha : 0.97
comm_encoder : 0
comm_decoder : 1
wdecay : 0
save : ""
fully_connected : false
alpha : 0.03
unroll_freq : 4
load : ""
max_grad_norm : 0
init_hid : 0.1
rmsprop_eps : 1e-06
nwords : 224
curriculum_sta : 0
visibility : 1
plot : false
adam_eps : 1e-08
nworker : 18
epochs : 100
nonlin : "tanh"
games_config_path : "games/config/crossing.lua"
nmodels : 1
no_coop : false
clip_grad : 0
}
/home/mldl/torch/install/bin/luajit: /home/mldl/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 3 callback] /home/mldl/ub16_prj/CommNet/train.lua:16: assertion failed!
stack traceback:
[C]: in function 'assert'
/home/mldl/ub16_prj/CommNet/train.lua:16: in function 'train_batch'
/home/mldl/ub16_prj/CommNet/train.lua:361: in function </home/mldl/ub16_prj/CommNet/train.lua:358>
[C]: in function 'xpcall'
/home/mldl/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback'
/home/mldl/torch/install/share/lua/5.1/threads/queue.lua:65: in function </home/mldl/torch/install/share/lua/5.1/threads/queue.lua:41>
[C]: in function 'pcall'
/home/mldl/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob'
[string " local Queue = require 'threads.queue'..."]:13: in main chunk
stack traceback:
[C]: in function 'error'
/home/mldl/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob'
/home/mldl/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize'
/home/mldl/ub16_prj/CommNet/train.lua:398: in function 'train'
main.lua:157: in main chunk
[C]: in function 'dofile'
...mldl/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
mldl@mldlUB1604:
/ub16_prj/CommNet$ vim train.lua

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions