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
when i train model, i'm running into some problems, the tensorflow version is 1.13 and the keras version is 2.3.1
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "pypow_14_a3c_final.py", line 195, in run
action = self.get_action(env,state)
File "pypow_14_a3c_final.py", line 281, in get_action
policy_nn = self.actor.predict(np.reshape(state, [1, self.state_size]))[0]
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/keras/engine/training.py", line 1462, in predict
callbacks=callbacks)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/keras/engine/training_arrays.py", line 324, in predict_loop
batch_outs = f(ins_batch)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/keras/backend.py", line 3073, in call
self._make_callable(feed_arrays, feed_symbols, symbol_vals, session)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/keras/backend.py", line 3019, in _make_callable
callable_fn = session._make_callable_from_options(callable_opts)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1471, in _make_callable_from_options
return BaseSession._Callable(self, callable_options)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1425, in init
session._session, options_ptr, status)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Tensor input_1:0, specified in either feed_devices or fetch_devices was not found in the Graph
Exception ignored in: <function BaseSession._Callable.del at 0x7f4d05194a60>
Traceback (most recent call last):
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1455, in del
self._session._session, self._handle, status)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: No such callable handle: 139963925418400
The text was updated successfully, but these errors were encountered:
when i train model, i'm running into some problems, the tensorflow version is 1.13 and the keras version is 2.3.1
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "pypow_14_a3c_final.py", line 195, in run
action = self.get_action(env,state)
File "pypow_14_a3c_final.py", line 281, in get_action
policy_nn = self.actor.predict(np.reshape(state, [1, self.state_size]))[0]
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/keras/engine/training.py", line 1462, in predict
callbacks=callbacks)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/keras/engine/training_arrays.py", line 324, in predict_loop
batch_outs = f(ins_batch)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/keras/backend.py", line 3073, in call
self._make_callable(feed_arrays, feed_symbols, symbol_vals, session)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/keras/backend.py", line 3019, in _make_callable
callable_fn = session._make_callable_from_options(callable_opts)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1471, in _make_callable_from_options
return BaseSession._Callable(self, callable_options)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1425, in init
session._session, options_ptr, status)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Tensor input_1:0, specified in either feed_devices or fetch_devices was not found in the Graph
Exception ignored in: <function BaseSession._Callable.del at 0x7f4d05194a60>
Traceback (most recent call last):
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1455, in del
self._session._session, self._handle, status)
File "/home/nesa517/anaconda3/envs/L2RPN-using-A3C-master/lib/python3.7/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: No such callable handle: 139963925418400
The text was updated successfully, but these errors were encountered: