> Traceback (most recent call last):


 "/home/ran/PycharmProjects/untitled/bctest_P.py", line 302, in <module>

agent = BCAgent(config, 'gazebocar')


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/agent.py", line 93, in __init__

Trainable.__init__(self, config, registry, logger_creator)


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/tune/trainable.py", line 90, in __init__

self._setup()


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/agent.py", line 116, in _setup

self._init()


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/bc.py", line 66, in _init

self.registry, self.env_creator, self.config, self.logdir)


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/bc_evaluator.py", line 22, in __init__

env.action_space, config)


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/policy.py", line 25, in __init__

self.setup_loss(action_space)


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/policy.py", line 43, in setup_loss

log_prob = self.curr_dist.logp(self.ac)


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/models/action_dist.py", line 86, in logp

0.5 * np.log(2.0 * np.pi) * tf.to_float(tf.shape(x)[1]) -


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/ops/math_ops.py", line 962, in binary_op_wrapper

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


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 950, in convert_to_tensor

as_ref=False)


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1040, in internal_convert_to_tensor

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


 "/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 883, in _TensorTensorConversionFunction

(dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype int64 for Tensor with dtype float32: 'Tensor("local/split:0", shape=(?, 2), dtype=float32, device=/job:localhost/replica:0/task:0/device:CPU:0)'

Traceback (most recent call last):


 "deployment_examples.py", line 111, in <module>

main()


 "deployment_examples.py", line 105, in main

rollback_deployment(extensions_v1beta1)


 "deployment_examples.py", line 86, in rollback_deployment

body=body)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/extensions_v1beta1_api.py", line 273, in create_namespaced_deployment_rollback

(data) = self.create_namespaced_deployment_rollback_with_http_info(name, namespace, body, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/extensions_v1beta1_api.py", line 364, in create_namespaced_deployment_rollback_with_http_info

collection_formats=collection_formats)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 321, in call_api

_return_http_data_only, collection_formats, _preload_content, _request_timeout)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 163, in __call_api

return_data = self.deserialize(response_data, response_type)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 236, in deserialize

return self.__deserialize(data, response_type)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 276, in __deserialize

return self.__deserialize_model(data, klass)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 622, in __deserialize_model

instance = klass(**kwargs)


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py", line 65, in __init__

self.name = name


 "/usr/local/lib/python2.7/dist-packages/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py", line 137, in name

raise ValueError("Invalid value for `name`, must not be `None`")
ValueError: Invalid value for `name`, must not be `None`
