{"action":"created","issue":{"url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1499","repository_url":"https://api.github.com/repos/Unity-Technologies/ml-agents","labels_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1499/labels{/name}","comments_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1499/comments","events_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1499/events","html_url":"https://github.com/Unity-Technologies/ml-agents/issues/1499","id":391402900,"node_id":"MDU6SXNzdWUzOTE0MDI5MDA=","number":1499,"title":"'UnityEnvironment' object has no attribute 'vector_action_space_size' Error while running PPO.py.","user":{"login":"jfrank94","id":10835625,"node_id":"MDQ6VXNlcjEwODM1NjI1","avatar_url":"https://avatars3.githubusercontent.com/u/10835625?v=4","gravatar_id":"","url":"https://api.github.com/users/jfrank94","html_url":"https://github.com/jfrank94","followers_url":"https://api.github.com/users/jfrank94/followers","following_url":"https://api.github.com/users/jfrank94/following{/other_user}","gists_url":"https://api.github.com/users/jfrank94/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrank94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrank94/subscriptions","organizations_url":"https://api.github.com/users/jfrank94/orgs","repos_url":"https://api.github.com/users/jfrank94/repos","events_url":"https://api.github.com/users/jfrank94/events{/privacy}","received_events_url":"https://api.github.com/users/jfrank94/received_events","type":"User","site_admin":false},"labels":[{"id":699112455,"node_id":"MDU6TGFiZWw2OTkxMTI0NTU=","url":"https://api.github.com/repos/Unity-Technologies/ml-agents/labels/needs-info","name":"needs-info","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"vincentpierre","id":28320361,"node_id":"MDQ6VXNlcjI4MzIwMzYx","avatar_url":"https://avatars3.githubusercontent.com/u/28320361?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentpierre","html_url":"https://github.com/vincentpierre","followers_url":"https://api.github.com/users/vincentpierre/followers","following_url":"https://api.github.com/users/vincentpierre/following{/other_user}","gists_url":"https://api.github.com/users/vincentpierre/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentpierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentpierre/subscriptions","organizations_url":"https://api.github.com/users/vincentpierre/orgs","repos_url":"https://api.github.com/users/vincentpierre/repos","events_url":"https://api.github.com/users/vincentpierre/events{/privacy}","received_events_url":"https://api.github.com/users/vincentpierre/received_events","type":"User","site_admin":false},"assignees":[{"login":"vincentpierre","id":28320361,"node_id":"MDQ6VXNlcjI4MzIwMzYx","avatar_url":"https://avatars3.githubusercontent.com/u/28320361?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentpierre","html_url":"https://github.com/vincentpierre","followers_url":"https://api.github.com/users/vincentpierre/followers","following_url":"https://api.github.com/users/vincentpierre/following{/other_user}","gists_url":"https://api.github.com/users/vincentpierre/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentpierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentpierre/subscriptions","organizations_url":"https://api.github.com/users/vincentpierre/orgs","repos_url":"https://api.github.com/users/vincentpierre/repos","events_url":"https://api.github.com/users/vincentpierre/events{/privacy}","received_events_url":"https://api.github.com/users/vincentpierre/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-12-15T18:56:23Z","updated_at":"2018-12-17T19:18:06Z","closed_at":null,"author_association":"NONE","body":"I'm getting this error when trying to run the PPO algorithm for the 3DBall environment. I'm using the PPO algorithm from the older version, and I made a small modification to match up with the current version of ml-agents. I changed create_agent_model to PPOModel. \r\n\r\nNotes: I'm running the latest ml-agents version, and I know the PPO.py file does not exist with this file, so would I have to create a newer algorithm to run the refined PPO model provided? \r\n\r\nHere is the full error code below: \r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-4-770edec8d4a8> in <module>\r\n     20                                h_size=hidden_units, epsilon=epsilon,\r\n     21                                beta=beta, max_step=max_steps,\r\n---> 22                                normalize=normalize, num_layers=num_layers)\r\n     23 \r\n     24 is_continuous = (env.brains[brain_name].action_space_type == \"continuous\")\r\n\r\n~/UnityProjects/ml-agents-master/ml-agents/mlagents/trainers/ppo/models.py in __init__(self, brain, lr, h_size, epsilon, beta, max_step, normalize, use_recurrent, num_layers, m_size, use_curiosity, curiosity_strength, curiosity_enc_size, seed)\r\n     27         :param m_size: Size of brain memory.\r\n     28         \"\"\"\r\n---> 29         LearningModel.__init__(self, m_size, normalize, use_recurrent, brain, seed)\r\n     30         self.use_curiosity = use_curiosity\r\n     31         if num_layers < 1:\r\n\r\n~/UnityProjects/ml-agents-master/ml-agents/mlagents/trainers/models.py in __init__(self, m_size, normalize, use_recurrent, brain, seed)\r\n     27             self.m_size = 0\r\n     28         self.normalize = normalize\r\n---> 29         self.act_size = brain.vector_action_space_size\r\n     30         self.vec_obs_size = brain.vector_observation_space_size * \\\r\n     31                             brain.num_stacked_vector_observations\r\n\r\nAttributeError: 'UnityEnvironment' object has no attribute 'vector_action_space_size'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/comments/447964992","html_url":"https://github.com/Unity-Technologies/ml-agents/issues/1499#issuecomment-447964992","issue_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1499","id":447964992,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Nzk2NDk5Mg==","user":{"login":"vincentpierre","id":28320361,"node_id":"MDQ6VXNlcjI4MzIwMzYx","avatar_url":"https://avatars3.githubusercontent.com/u/28320361?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentpierre","html_url":"https://github.com/vincentpierre","followers_url":"https://api.github.com/users/vincentpierre/followers","following_url":"https://api.github.com/users/vincentpierre/following{/other_user}","gists_url":"https://api.github.com/users/vincentpierre/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentpierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentpierre/subscriptions","organizations_url":"https://api.github.com/users/vincentpierre/orgs","repos_url":"https://api.github.com/users/vincentpierre/repos","events_url":"https://api.github.com/users/vincentpierre/events{/privacy}","received_events_url":"https://api.github.com/users/vincentpierre/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T19:18:06Z","updated_at":"2018-12-17T19:18:06Z","author_association":"COLLABORATOR","body":"Are you sure the platforms have the right brain ? What version are you on ? Are they using the PlayerBrain or the Learning Brain ?"}}
{"actor":{"display_login":"vincentpierre"}}