Traceback (most recent call last):


 "/home/hejia/Projects/garage/tests/test_algos.py", line 96, in test_polopt_algo

policy = policy_cls(env_spec=env.spec, )


 "/home/hejia/Projects/garage/garage/policies/categorical_gru_policy.py", line 32, in __init__

assert isinstance(env_spec.action_space, gym.spaces.Discrete)
AttributeError: 'NoneType' object has no attribute 'action_space'

Traceback (most recent call last):


 "google.py", line 78, in <module>

args.project_id, args.session_id, args.texts, args.language_code)


 "google.py", line 40, in detect_intent_texts

session=session, query_input=query_input)


 "G:\anaconda\lib\site-packages\dialogflow_v2\gapic\sessions_client.py", line 318, in detect_intent

self.transport.detect_intent,
AttributeError: 'str' object has no attribute 'detect_intent'
