You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the same Python environment, with Python 3.10.12. PushAgentClub example, everything worked fine during training. However, when I added the Grid Sensor component to my project for training, an error occurred: PIL.UnidentifiedImageError: cannot identify image file <mlagents_envs.rpc_utils.OffsetBytesIO object。 If the Grid Sensor component is removed for training, everything will be normal. Uninstall and reinstall pil, it still crashed.
C:\Users\mm\ .conda\envs\mlagents\Lib\site-packages\PIL\Image.py on line 3536, The field "filename" was empty when it was printed
Do I need any other settings after adding the Grid Sensor component?
In the same Python environment, with Python 3.10.12. PushAgentClub example, everything worked fine during training. However, when I added the Grid Sensor component to my project for training, an error occurred: PIL.UnidentifiedImageError: cannot identify image file <mlagents_envs.rpc_utils.OffsetBytesIO object。 If the Grid Sensor component is removed for training, everything will be normal. Uninstall and reinstall pil, it still crashed.
C:\Users\mm\ .conda\envs\mlagents\Lib\site-packages\PIL\Image.py on line 3536, The field "filename" was empty when it was printed
Do I need any other settings after adding the Grid Sensor component?
Environment:
unity-editor:2023.2
ml-agents: 1.2.0.dev0,
ml-agents-envs: 1.2.0.dev0,
Communicator API: 1.5.0,
PyTorch: 2.5.1+cpu
Solution:
I'm speechless; it turns out the "Detectable Tags" parameter can't be set to 0. Please close this issue.
The text was updated successfully, but these errors were encountered: