Anacondaを使いUnityでの機械学習を試みているのですが、下記のようなエラーメッセージが出て機械学習ができません
Traceback (most recent call last):
File "c:\users\user\anaconda3\envs\ml-agents\lib\runpy.py", line 193, in run
module_as_main
"main", mod_spec)
File "c:\users\user\anaconda3\envs\ml-agents\lib\runpy.py", line 85, in _run_c
ode
exec(code, run_globals)
File "C:\Users\user\Anaconda3\envs\ml-agents\Scripts\mlagents-learn.exe__main
__.py", line 9, in <module>
File "c:\users\user\anaconda3\envs\ml-agents\lib\site-packages\mlagents\traine
rs\learn.py", line 234, in main
run_training(0, run_seed, options, Queue())
File "c:\users\user\anaconda3\envs\ml-agents\lib\site-packages\mlagents\traine
rs\learn.py", line 71, in run_training
env = init_environment(env_path, docker_target_name, no_graphics, worker_id
- sub_id, fast_simulation, run_seed)
File "c:\users\user\anaconda3\envs\ml-agents\lib\site-packages\mlagents\traine
rs\learn.py", line 171, in init_environment
no_graphics=no_graphics
File "c:\users\user\anaconda3\envs\ml-agents\lib\site-packages\mlagents\envs\e
nvironment.py", line 77, in init
"of ML-Agents.".format(self.version, self._unity_version))
mlagents.envs.exception.UnityEnvironmentException: The API number is not compati
ble between Unity and python. Python API : API-7, Unity API : API-8.
Please go to https://github.com/Unity-Technologies/ml-agents to download the lat
est version of ML-Agents.
Python APIとUnity APIの互換性がないと書いてあると思うのでUnity APIを Python APIと同じAPI-7にしたいのですが、どうすればできますか?逆のことをすると別なエラーが出ますのでこの方法でやりたいと思ってます。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。