Closed jilcky closed 5 years ago
Hi @jilcky -- looks like you're working on developing ML-Agents from source. To do this you'll need to build the protocol buffer definitions. You can see this README for information about how: https://github.com/Unity-Technologies/ml-agents/blob/e3b86a27a2547cdd177bf9e848b4337aa71b887a/protobuf-definitions/README.md
嗨@jilcky - 看起来你正在从源头开发ML-Agents。为此,您需要构建协议缓冲区定义。您可以参阅本自述文件以获取有关如何操作的信息:https://github.com/Unity-Technologies/ml-agents/blob/e3b86a27a2547cdd177bf9e848b4337aa71b887a/protobuf-definitions/README.md
I can creat C:\ml-agents\UnitySDK\Assets\ML-Agents\Scripts\CommunicatorObjects but Show ImportError: cannot import name 'UnityRLInput'
@jilcky Did you follow step by step the stuff on https://github.com/Unity-Technologies/ml-agents/blob/e3b86a27a2547cdd177bf9e848b4337aa71b887a/protobuf-definitions/README.md?
Thanks for reaching out to us. Hopefully you were able to resolve your issue. We are closing this due to inactivity, but if you need additional assistance, feel free to reopen the issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
(ml-agents) C:\ml-agents-master>mlagents-learn config/trainer_config.yaml --run-id=firstRun --train Traceback (most recent call last): File "C:\Users\jilck\Anaconda3\envs\ml-agents\Scripts\mlagents-learn-script.py", line 11, in
load_entry_point('mlagents', 'console_scripts', 'mlagents-learn')()
File "C:\Users\jilck\Anaconda3\envs\ml-agents\lib\site-packages\pkg_resources__init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Users\jilck\Anaconda3\envs\ml-agents\lib\site-packages\pkg_resources__init.py", line 2793, in load_entry_point
return ep.load()
File "C:\Users\jilck\Anaconda3\envs\ml-agents\lib\site-packages\pkg_resources__init__.py", line 2411, in load
return self.resolve()
File "C:\Users\jilck\Anaconda3\envs\ml-agents\lib\site-packages\pkg_resources\init.py", line 2417, in resolve
module = import__(self.module_name, fromlist=['name'], level=0)
File "c:\ml-agents-master\ml-agents\mlagents\trainers\init.py", line 1, in
from .buffer import *
File "c:\ml-agents-master\ml-agents\mlagents\trainers\buffer.py", line 3, in
from mlagents.envs.exception import UnityException
File "c:\ml-agents-master\ml-agents\mlagents\envs\ init__.py", line 1, in
from .environment import *
File "c:\ml-agents-master\ml-agents\mlagents\envs\environment.py", line 11, in
from .communicator_objects import UnityRLInput, UnityRLOutput, AgentActionProto, \
ImportError: cannot import name 'UnityRLInput'
(ml-agents) C:\ml-agents-master>