Closed jdP19 closed 2 years ago
I also have this problem. I did not do about the custom side channels but only follow the Learning-Environment-Executable tutorial with ml-agents. Not sure it is a bug in my case, because the training and game seem to work properly. It only appears the message without other errors. Environment:
Hi @jdP19 @NaiveRed
Are you all actually experiencing issues/crashes or is it just popping up in the logs? Is the training proceeding as expected?
Also, @jdP19 are you on the latest release (v0.14.1) of C# and python? If not, does this issue persist when you switch?
@andrewcoh It just pops up in the log and I think it works fine in the training process. (no other errors)
Hi @jdP19 @NaiveRed
Are you all actually experiencing issues/crashes or is it just popping up in the logs? Is the training proceeding as expected?
It is popping up in the logs, the training proceeds expectingly. But the problem is the side channels are not working when you get this issues popping up. I used the custom side channel example provided in the repo, where the unity logs are piped to python and the python logs are piped to unity. The exchange of messages from python to unity is not working.
Also, @jdP19 are you on the latest release (v0.14.1) of C# and python? If not, does this issue persist when you switch?
Yes the issue persist when i use the v0.14.1 and the newest devoplement of the ml-agents repo.
@jdP19 sorry, can you clarify. In your first message, it seemed the communication from unity to python was not working. Now, it's python to unity?
Is the debug log in the editor completely empty?
@jdP19 sorry, can you clarify. In your first message, it seemed the communication from unity to python was not working. Now, it's python to unity?
Is the debug log in the editor completely empty?
I wrote something wrong, the way from python to unity is working, but not from untiy to python !!!
It only show the error messages: Plugins: Failed to load 'libcoreclr' because one or more of its dependencies could not be loaded.
I am also getting this issue with ML-Agents 0.15
@guillefix what step did you take to install the python mlagents
package?
I remember getting something like this because I installed via pip remote:
pip install mlagents
This package normally isn't compatible if you have pulled the ML Agents repo, instead you have to install the python packages from the repo, locally. So from within your repo, in a shell:
pip install -e ml-agents
pip install -e ml-agents-envs
P.s. If you did install from pip remote (no -e
) then you might need to pip uninstall mlagents
first.
Any other errors I got when building were just warnings about certain cuda dlls which didn't impede my progress.
This issue has been automatically marked as stale because it has not had activity in the last 28 days. It will be closed in the next 14 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 42 days. If this issue is still valid, please ping a maintainer. Thank you for your contributions.
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.
The sidechannels to communicate with the standalone build of the Example 3DBall are not working. After following the tutorial on costume sidechannel [(https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Custom-SideChannels.md)] and applying it to the 3DBall example, the following Error appear in the standalone build:
The unity standalone build does not find the packages:
libcoreclr
,libdl
,libSystem
. This error occurs when the Sidechannel is registered (from the log file):This error appears as soon as a sidechannel is activate, without sidechannel it is running without errors. The communication from python to unity standalone is working but from unity to python is not, because of the described errors above.
Environment :
develop
branch from source