You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
any examples and even just simply running kerlym gives an error as below:
kerlym
Using TensorFlow backend.
dqn
<function simple_dnn at 0x7f9cb7310500>
1e-06
[2017-02-25 13:10:08,625] Making new env: Pong-v0
201600 [2, 210, 160, 3]
Traceback (most recent call last):
File "/usr/local/bin/kerlym", line 4, in import('pkg_resources').run_script('KeRLym==0.0.2', 'kerlym')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 738, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1506, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/KeRLym-0.0.2-py2.7.egg/EGG-INFO/scripts/kerlym", line 77, in
File "build/bdist.linux-x86_64/egg/kerlym/dqn/dqn.py", line 117, in train
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 964, in _run
feed_dict_string, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1014, in _do_run
target_list, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1034, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value dense_3_b
[[Node: dense_3_b/read = IdentityT=DT_FLOAT, _class=["loc:@dense_3_b"], _device="/job:localhost/replica:0/task:0/cpu:0"]]
Caused by op u'dense_3_b/read', defined at:
File "/usr/local/bin/kerlym", line 4, in import('pkg_resources').run_script('KeRLym==0.0.2', 'kerlym')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 738, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1506, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/KeRLym-0.0.2-py2.7.egg/EGG-INFO/scripts/kerlym", line 75, in
File "build/bdist.linux-x86_64/egg/kerlym/dqn/dqn.py", line 77, in init
self.setup_graphs()
File "build/bdist.linux-x86_64/egg/kerlym/dqn/dqn.py", line 83, in setup_graphs
s, q_network = self.model_factory(self, self.env[0], **self.kwargs)
File "build/bdist.linux-x86_64/egg/kerlym/dqn/networks.py", line 23, in simple_dnn
V = Dense(env.action_space.n, activation='linear',init='zero')(h)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 546, in call
self.build(input_shapes[0])
File "/usr/local/lib/python2.7/dist-packages/keras/layers/core.py", line 804, in build
constraint=self.b_constraint)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 418, in add_weight
weight = initializer(shape, name=name)
File "/usr/local/lib/python2.7/dist-packages/keras/initializations.py", line 112, in zero
return K.zeros(shape, name=name)
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 492, in zeros
dtype, name)
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 259, in variable
v = tf.Variable(value, dtype=_convert_string_dtype(dtype), name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 224, in init
expected_shape=expected_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 370, in _init_from_args
self._snapshot = array_ops.identity(self._variable, name="read")
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 1424, in identity
result = _op_def_lib.apply_op("Identity", input=input, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1128, in init
self._traceback = _extract_stack()
any examples and even just simply running kerlym gives an error as below:
kerlym
Using TensorFlow backend.
dqn
<function simple_dnn at 0x7f9cb7310500>
1e-06
[2017-02-25 13:10:08,625] Making new env: Pong-v0
201600 [2, 210, 160, 3]
Traceback (most recent call last):
File "/usr/local/bin/kerlym", line 4, in
import('pkg_resources').run_script('KeRLym==0.0.2', 'kerlym')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 738, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1506, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/KeRLym-0.0.2-py2.7.egg/EGG-INFO/scripts/kerlym", line 77, in
File "build/bdist.linux-x86_64/egg/kerlym/dqn/dqn.py", line 117, in train
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 964, in _run
feed_dict_string, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1014, in _do_run
target_list, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1034, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value dense_3_b
[[Node: dense_3_b/read = IdentityT=DT_FLOAT, _class=["loc:@dense_3_b"], _device="/job:localhost/replica:0/task:0/cpu:0"]]
Caused by op u'dense_3_b/read', defined at:
File "/usr/local/bin/kerlym", line 4, in
import('pkg_resources').run_script('KeRLym==0.0.2', 'kerlym')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 738, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1506, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/KeRLym-0.0.2-py2.7.egg/EGG-INFO/scripts/kerlym", line 75, in
File "build/bdist.linux-x86_64/egg/kerlym/dqn/dqn.py", line 77, in init
self.setup_graphs()
File "build/bdist.linux-x86_64/egg/kerlym/dqn/dqn.py", line 83, in setup_graphs
s, q_network = self.model_factory(self, self.env[0], **self.kwargs)
File "build/bdist.linux-x86_64/egg/kerlym/dqn/networks.py", line 23, in simple_dnn
V = Dense(env.action_space.n, activation='linear',init='zero')(h)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 546, in call
self.build(input_shapes[0])
File "/usr/local/lib/python2.7/dist-packages/keras/layers/core.py", line 804, in build
constraint=self.b_constraint)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 418, in add_weight
weight = initializer(shape, name=name)
File "/usr/local/lib/python2.7/dist-packages/keras/initializations.py", line 112, in zero
return K.zeros(shape, name=name)
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 492, in zeros
dtype, name)
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 259, in variable
v = tf.Variable(value, dtype=_convert_string_dtype(dtype), name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 224, in init
expected_shape=expected_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 370, in _init_from_args
self._snapshot = array_ops.identity(self._variable, name="read")
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 1424, in identity
result = _op_def_lib.apply_op("Identity", input=input, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1128, in init
self._traceback = _extract_stack()
FailedPreconditionError (see above for traceback): Attempting to use uninitialized value dense_3_b
[[Node: dense_3_b/read = IdentityT=DT_FLOAT, _class=["loc:@dense_3_b"], _device="/job:localhost/replica:0/task:0/cpu:0"]]
The text was updated successfully, but these errors were encountered: