Skip to content

Unity not passing observations to python side when run on server #296

@samby707

Description

@samby707

I have created a linux build for my project in unity and I'm using unity ml agents. I have also written a python code for training the agent. When I'm running it on Ubuntu 16.04 server using batchmode and nographics as command line arguments written in environmnet.py, then only,it's running on the server,otherwise not. But the observations that I'm getting are blank images with constant values of 0.803, instead of the images that are captured from the camera and passed as observations. Any help to solve the problem would be appreciated. I have recorded the observations that are being captured from the python side and logged them and they are blank images. Is it because the unity window isn't getting rendered and hence, the observations are not getting passed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions