{"action":"created","issue":{"url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1286","repository_url":"https://api.github.com/repos/Unity-Technologies/ml-agents","labels_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1286/labels{/name}","comments_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1286/comments","events_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1286/events","html_url":"https://github.com/Unity-Technologies/ml-agents/issues/1286","id":366624702,"node_id":"MDU6SXNzdWUzNjY2MjQ3MDI=","number":1286,"title":"Not able to the Train the Brain with Reinforcement Learning – Due to the Error: The Communicator was unable to connect.  ","user":{"login":"jayeshBaviskar","id":5250082,"node_id":"MDQ6VXNlcjUyNTAwODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5250082?v=4","gravatar_id":"","url":"https://api.github.com/users/jayeshBaviskar","html_url":"https://github.com/jayeshBaviskar","followers_url":"https://api.github.com/users/jayeshBaviskar/followers","following_url":"https://api.github.com/users/jayeshBaviskar/following{/other_user}","gists_url":"https://api.github.com/users/jayeshBaviskar/gists{/gist_id}","starred_url":"https://api.github.com/users/jayeshBaviskar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayeshBaviskar/subscriptions","organizations_url":"https://api.github.com/users/jayeshBaviskar/orgs","repos_url":"https://api.github.com/users/jayeshBaviskar/repos","events_url":"https://api.github.com/users/jayeshBaviskar/events{/privacy}","received_events_url":"https://api.github.com/users/jayeshBaviskar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"xiaomaogy","id":5985076,"node_id":"MDQ6VXNlcjU5ODUwNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5985076?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaomaogy","html_url":"https://github.com/xiaomaogy","followers_url":"https://api.github.com/users/xiaomaogy/followers","following_url":"https://api.github.com/users/xiaomaogy/following{/other_user}","gists_url":"https://api.github.com/users/xiaomaogy/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaomaogy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaomaogy/subscriptions","organizations_url":"https://api.github.com/users/xiaomaogy/orgs","repos_url":"https://api.github.com/users/xiaomaogy/repos","events_url":"https://api.github.com/users/xiaomaogy/events{/privacy}","received_events_url":"https://api.github.com/users/xiaomaogy/received_events","type":"User","site_admin":false},"assignees":[{"login":"xiaomaogy","id":5985076,"node_id":"MDQ6VXNlcjU5ODUwNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5985076?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaomaogy","html_url":"https://github.com/xiaomaogy","followers_url":"https://api.github.com/users/xiaomaogy/followers","following_url":"https://api.github.com/users/xiaomaogy/following{/other_user}","gists_url":"https://api.github.com/users/xiaomaogy/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaomaogy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaomaogy/subscriptions","organizations_url":"https://api.github.com/users/xiaomaogy/orgs","repos_url":"https://api.github.com/users/xiaomaogy/repos","events_url":"https://api.github.com/users/xiaomaogy/events{/privacy}","received_events_url":"https://api.github.com/users/xiaomaogy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-10-04T05:11:58Z","updated_at":"2018-12-26T11:50:18Z","closed_at":"2018-10-05T12:27:43Z","author_association":"NONE","body":"Not able to the Train the Brain with Reinforcement Learning – Due to the Error: The Communicator was unable to connect.  \r\n\r\nI have set the Brain Type to External \r\n(Ball3DAcademy -->  Ball3DBrain -->  Brain Type=External)\r\n\r\nSelected .NET 4.x Equivalent as a Scripting Runtime Version.\r\nDefined ENABLE_TENSORFLOW flag in Scripting Defined Symbols and  imported TensorFlowSharp plugin in the project\r\n\r\n![project settings](https://user-images.githubusercontent.com/5250082/46454039-0c5ffc00-c7c2-11e8-81f6-a753007697a8.JPG)\r\n\r\nI tried mlagents-learn command from the root directory. The command is executing successfully. \r\n\r\n\r\n![mlagents-learn](https://user-images.githubusercontent.com/5250082/46454033-0538ee00-c7c2-11e8-9d3c-6efe62d38c05.png)\r\n\r\nThen I fired `mlagents-learn config\\trainer_config.yaml --run-id=firstrun –train` command.\r\nThe command returned \r\n\r\n> “Start training by pressing the Play button in the Unity Editor.” \r\n\r\nSo I Pressed Play button of my Unity with 3DBall as a loaded scene. \r\n\r\nAfter Pressing Play Button Unity is displaying the following error Message: \r\n\r\n> UnityAgentsException: The Communicator was unable to connect. Please make sure the External process is ready to accept communication with Unity.\r\n> MLAgents.Batcher.SendAcademyParameters (MLAgents.CommunicatorObjects.UnityRLInitializationOutput academyParameters) (at Assets/ML-Agents/Scripts/Batcher.cs:83)\r\n> MLAgents.Academy.InitializeEnvironment () (at Assets/ML-Agents/Scripts/Academy.cs:320)\r\n> MLAgents.Academy.Awake () (at Assets/ML-Agents/Scripts/Academy.cs:227)\r\n\r\n![error](https://user-images.githubusercontent.com/5250082/46454030-fe11e000-c7c1-11e8-9ce4-c0207f6ef104.JPG)\r\n\r\n\r\n![detailed error](https://user-images.githubusercontent.com/5250082/46454025-f8b49580-c7c1-11e8-97f2-2b025319ccda.JPG)\r\n\r\nI am using Following components: \r\nUnity Version: 2018.2.2f1\r\nVisual Studio 2015 with.NET Framework 4.7.1\r\nMy C# Project’s csproj File is using 6 as a LangVersion\r\n\r\nconda 4.5.11 (Anaconda)  with Python 3.6.6\r\n\r\n\r\n\r\nThese are the Packages which I have in my Python Environent: \r\n_tflow_1100_select        \t\t0.0.2                     eigen\r\nabsl-py                   \t\t0.5.0                    py36_0\r\nastor                     \t\t0.7.1                    py36_0\r\natomicwrites              \t\t1.2.1                    py36_0\r\nattrs                     \t\t18.2.0           py36h28b3542_0\r\nbackcall                  \t\t0.1.0                     <pip>\r\nblas                      \t\t1.0                         mkl\r\nbleach                    \t\t1.5.0                    py36_0\r\nca-certificates           \t\t2018.03.07                    0\r\ncertifi                   \t\t2018.8.24                py36_1\r\ncolorama                  \t\t0.3.9            py36h029ae33_0\r\ncycler                    \t\t0.10.0           py36h009560c_0\r\ndecorator                 \t\t4.3.0                     <pip>\r\ndefusedxml                \t\t0.5.0                     <pip>\r\ndocopt                    \t\t0.6.2                    py36_0\r\nentrypoints               \t\t0.2.3                     <pip>\r\nfreetype                  \t\t2.9.1                ha9979f8_1\r\ngast                      \t\t0.2.0                    py36_0\r\ngrpcio                    \t\t1.11.1                    <pip>\r\ngrpcio                    \t\t1.12.1           py36h1a1b453_0\r\nhtml5lib                  \t\t0.9999999                py36_0\r\nicc_rt                    \t\t2017.0.4             h97af966_0\r\nicu                       \t\t\t58.2                 ha66f8fd_1\r\nintel-openmp              \t\t2019.0                      118\r\nipykernel                 \t\t5.0.0                     <pip>\r\nipython                   \t\t7.0.1                     <pip>\r\nipython-genutils          \t\t0.2.0                     <pip>\r\nipywidgets                \t\t7.4.2                     <pip>\r\njedi                      \t\t\t0.12.1                    <pip>\r\nJinja2                    \t\t2.10                      <pip>\r\njpeg                      \t\t9b                   hb83a4c4_2\r\njsonschema                \t\t2.6.0                     <pip>\r\njupyter                   \t\t1.0.0                     <pip>\r\njupyter-client            \t\t5.2.3                     <pip>\r\njupyter-console           \t\t5.2.0                     <pip>\r\njupyter-core              \t\t4.4.0                     <pip>\r\nkiwisolver                \t\t1.0.1            py36h6538335_0\r\nlibpng                    \t\t1.6.34               h79bbb47_0\r\nlibprotobuf               \t\t3.6.0                h1a1b453_0\r\nlibtiff                   \t\t\t4.0.9                h36446d0_2\r\nmarkdown                  \t\t2.6.11                   py36_0\r\nMarkupSafe                \t\t1.0                       <pip>\r\nmatplotlib                \t\t3.0.0            py36hd159220_0\r\nmistune                   \t\t0.8.3                     <pip>\r\nmkl                       \t\t2019.0                      118\r\nmkl_fft                   \t\t1.0.6            py36hdbbee80_0\r\nmkl_random                \t\t1.0.1            py36h77b88f5_1\r\nmlagents                  \t\t0.5.0                     <pip>\r\nmore-itertools            \t\t4.3.0                    py36_0\r\nnbconvert                 \t\t5.4.0                     <pip>\r\nnbformat                  \t\t4.4.0                     <pip>\r\nnotebook                  \t\t5.7.0                     <pip>\r\nnumpy                     \t\t1.15.2           py36ha559c80_0\r\nnumpy                     \t\t1.14.5                    <pip>\r\nnumpy-base                \t\t1.15.2           py36h8128ebf_0\r\nolefile                   \t\t0.46                     py36_0\r\nopenssl                   \t\t1.0.2p               hfa6e2cd_0\r\npandocfilters             \t\t1.4.2                     <pip>\r\nparso                    \t\t0.3.1                     <pip>\r\npickleshare               \t\t0.7.5                     <pip>\r\npillow                    \t\t5.2.0            py36h08bbbbd_0\r\npip                       \t\t\t18.0                      <pip>\r\npip                       \t\t\t10.0.1                   py36_0\r\npluggy                    \t\t0.7.1            py36h28b3542_0\r\nprometheus-client         \t\t0.3.1                     <pip>\r\nprompt-toolkit            \t\t1.0.15                    <pip>\r\nprotobuf                  \t\t3.6.0            py36he025d50_0\r\npy                        \t\t\t1.6.0                    py36_0\r\nPygments                  \t\t2.2.0                     <pip>\r\npyparsing                 \t\t2.2.0                    py36_1\r\npyqt                      \t\t5.9.2            py36h6538335_2\r\npytest                   \t\t3.8.1                    py36_0\r\npython                    \t\t3.6.6                hea74fb7_0\r\npython-dateutil          \t\t2.7.3                    py36_0\r\npytz                      \t\t2018.5                   py36_0\r\npywinpty                  \t\t0.5.4                     <pip>\r\npyyaml                    \t\t3.13             py36hfa6e2cd_0\r\npyzmq                     \t\t17.1.2                    <pip>\r\nqt                        \t\t\t5.9.6            vc14h1e9a669_2\r\nqtconsole                 \t\t4.4.1                     <pip>\r\nSend2Trash                \t\t1.5.0                     <pip>\r\nsetuptools                \t\t40.2.0                   py36_0\r\nsimplegeneric             \t\t0.8.1                     <pip>\r\nsip                       \t\t\t4.19.8           py36h6538335_0\r\nsix                       \t\t\t1.11.0                   py36_1\r\nsqlite                    \t\t3.25.2               hfa6e2cd_0\r\ntensorboard               \t\t1.7.0                     <pip>\r\ntensorflow                \t\t1.7.1                     <pip>\r\ntermcolor                 \t\t1.1.0                    py36_1\r\nterminado                 \t\t0.8.1                     <pip>\r\ntestpath                  \t\t0.4.1                     <pip>\r\ntk                        \t\t\t8.6.8                hfa6e2cd_0\r\ntornado                   \t\t5.1              py36hfa6e2cd_0\r\ntraitlets                 \t\t4.3.2                     <pip>\r\nvc                        \t\t\t14.1                 h0510ff6_4\r\nvs2015_runtime            \t\t14.15.26706          h3a45250_0\r\nwcwidth                   \t\t0.1.7                     <pip>\r\nwerkzeug                  \t\t0.14.1                   py36_0\r\nwheel                     \t\t0.31.1                   py36_0\r\nwidgetsnbextension        \t3.4.2                     <pip>\r\nwincertstore              \t\t0.2              py36h7fe50ca_0\r\nyaml                      \t\t0.1.7                hc54c509_2\r\nzlib                      \t\t\t1.2.11               h8395fce_2\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/comments/449955454","html_url":"https://github.com/Unity-Technologies/ml-agents/issues/1286#issuecomment-449955454","issue_url":"https://api.github.com/repos/Unity-Technologies/ml-agents/issues/1286","id":449955454,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTk1NTQ1NA==","user":{"login":"jayeshBaviskar","id":5250082,"node_id":"MDQ6VXNlcjUyNTAwODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5250082?v=4","gravatar_id":"","url":"https://api.github.com/users/jayeshBaviskar","html_url":"https://github.com/jayeshBaviskar","followers_url":"https://api.github.com/users/jayeshBaviskar/followers","following_url":"https://api.github.com/users/jayeshBaviskar/following{/other_user}","gists_url":"https://api.github.com/users/jayeshBaviskar/gists{/gist_id}","starred_url":"https://api.github.com/users/jayeshBaviskar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayeshBaviskar/subscriptions","organizations_url":"https://api.github.com/users/jayeshBaviskar/orgs","repos_url":"https://api.github.com/users/jayeshBaviskar/repos","events_url":"https://api.github.com/users/jayeshBaviskar/events{/privacy}","received_events_url":"https://api.github.com/users/jayeshBaviskar/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T11:50:18Z","updated_at":"2018-12-26T11:50:18Z","author_association":"NONE","body":"@SharangSharma09  \r\nI had those variables in my Environment variables, So I removed them.\r\n\r\n"}}
{"actor":{"display_login":"jayeshBaviskar"}}