ml-agent

'UnityEnvironment' object has no attribute 'behavior_spec'

╄→尐↘猪︶ㄣ 提交于 2020-06-28 03:42:20
问题 I followed this link to doc to create environment of my own. But when i run this from mlagents_envs.environment import UnityEnvironment env = UnityEnvironment(file_name="v1-ball-cube-game.x86_64") env.reset() behavior_names = env.behavior_spec.keys() print(behavior_names) Game window pop up and then terminal show error saying Traceback (most recent call last): File "index.py", line 6, in <module> behavior_names = env.behavior_spec.keys() AttributeError: 'UnityEnvironment' object has no

How to get ML Agents to run in Unity?

有些话、适合烂在心里 提交于 2020-06-17 14:32:05
问题 I've tried going through the documentation but the steps mentioned there aren't quite clear enough. Is there a good step by step video tutorial that can be helpful? The ones I saw on YouTube are pretty old and don't work with the latest updates on GitHub https://github.com/Unity-Technologies/ml-agents 回答1: This will help you to setup ml agent version 14. https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Installation.md I am currently using this version. I suggest you create a

Why should continuous actions be clamped?

二次信任 提交于 2019-12-24 08:05:10
问题 In Deep Reinforcement Learning, using continuous action spaces, why does it seem to be common practice to clamp the action right before the agent's execution? Examples: OpenAI Gym Mountain Car https://github.com/openai/gym/blob/master/gym/envs/classic_control/continuous_mountain_car.py#L57 Unity 3DBall https://github.com/Unity-Technologies/ml-agents/blob/master/unity-environment/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs#L29 Isn't information lost doing so? Like if the model

Unity3D Machine Learning Setup for ML-Agents on Windows 10 with Tensorflow

自闭症网瘾萝莉.ら 提交于 2019-12-12 09:03:57
问题 I have been trying to get the Machine Learning Setup for ML-Agents for Unity 3D up and running for the past several hours, with no luck. First I followed this video, which goes over the initial installations which are also outlined in this GitHub repository. Next, I moved on to part 2 of the video series (here), however problems started at minute 4:48, where I realized that the tutorial was using v 0.2, while I had v 0.3. V 0.3 has done away with the PPO.ipynb file shown in the video.

Unity3D Machine Learning Setup for ML-Agents on Windows 10 with Tensorflow

人走茶凉 提交于 2019-12-04 17:19:36
I have been trying to get the Machine Learning Setup for ML-Agents for Unity 3D up and running for the past several hours, with no luck. First I followed this video, which goes over the initial installations which are also outlined in this GitHub repository. Next, I moved on to part 2 of the video series ( here ), however problems started at minute 4:48, where I realized that the tutorial was using v 0.2, while I had v 0.3. V 0.3 has done away with the PPO.ipynb file shown in the video. Everything is done through learn.py file. I then decided to try and follow the official Unity installation