Traceback (most recent call last):


 "/home/a/workspace/test/nmt/nmt-keras-master/main.py", line 409, in <module>

train_model(parameters, args.dataset)


 "/home/a/workspace/test/nmt/nmt-keras-master/main.py", line 79, in train_model

store_path=params['STORE_PATH'])


 "/home/a/workspace/test/nmt/nmt-keras-master/model_zoo.py", line 113, in __init__

eval('self.' + model_type + '(params)')


 "<string>", line 1, in <module>

**
 "/home/a/workspace/test/nmt/nmt-keras-master/model_zoo.py", line 344, in GroundHogModel

ctx_mean = MaskedMean()(annotations)**


 "/home/a/다운로드/src/keras/keras/engine/topology.py", line 596, in __call__

output = self.call(inputs, **kwargs)


 "/home/a/다운로드/src/keras/keras/layers/core.py", line 1085, in call

return K.mean(mask[:, :, None] * x, axis=1)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 829, in binary_op_wrapper

y = ops.convert_to_tensor(y, dtype=x.dtype.base_dtype, name="y")


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 676, in convert_to_tensor

as_ref=False)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 741, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 614, in _TensorTensorConversionFunction

% (dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype bool for Tensor with dtype float32: 'Tensor("annotations_batch_normalization/add_4:0", shape=(?, ?, 128), dtype=float32)'

Traceback (most recent call last):


 "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/Users/shawn/.pyenv/versions/3.6.0/lib/python3.6/threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "/Users/shawn/code/wandb/client/wandb/io_wrap.py", line 162, in _reader_thread

put_data_fn(out)


 "/Users/shawn/code/wandb/client/wandb/io_wrap.py", line 136, in _write

i = f.write(data)


 "/Users/shawn/code/wandb/client/wandb/run_manager.py", line 172, in write

self.f.write(*args, **kargs)
ValueError: write to closed file