bzier / gym-mupen64plus

An OpenAI Gym environment wrapper for the Mupen64Plus N64 emulator
MIT License
91 stars 39 forks source link

docker-compose access denied #95

Open chevin-ken opened 2 years ago

chevin-ken commented 2 years ago

image

I am trying to run docker-compose but am getting this error. I have already run docker login. Am I missing a step somewhere? Thanks!

Gytaco commented 2 years ago

I am also finding this issue and cannot find the image when searching Docker Hub?

kevinhughes27 commented 2 years ago

I don't think the images are hosted on docker hub. You should build them yourself.

Gytaco commented 2 years ago

@kevinhughes27 I ended up doing that, the main issue I had was pyglet is auto-updating to a noncompatible version (1.5.5. something), I had to add it in the docker file to 1.2.0 for it to work.

Now working on getting a working VNC viewer that works from Windows with docker none of OOTB ones seems to be connect so I'm not sure whats happening there.

Random question what is the approach to building env in terms of debugging and testing? I'm keen to look at implementing wrappers for Mario64 and Goldeneye so i was keen to learn more about coding new env's process.

Are you standing up the httpcontroller then just sending commands to it to figure it out.

kevinhughes27 commented 2 years ago

Unfortunately I can't speak to the workflow for writing new envs. I've only used the setup once to run an existing agent for Mario Kart. Some of the other contributors might be able to help you out. If you do make any fixes or find any workflows that are effective definitely take the time to open a PR and improve the process / docs for all :smile:

Your approach of sending commands over the httpcontroller seems reasonable to me though!

rohansaw commented 2 years ago

@kevinhughes27 I ended up doing that, the main issue I had was pyglet is auto-updating to a noncompatible version (1.5.5. something), I had to add it in the docker file to 1.2.0 for it to work.

Now working on getting a working VNC viewer that works from Windows with docker none of OOTB ones seems to be connect so I'm not sure whats happening there.

Random question what is the approach to building env in terms of debugging and testing? I'm keen to look at implementing wrappers for Mario64 and Goldeneye so i was keen to learn more about coding new env's process.

Are you standing up the httpcontroller then just sending commands to it to figure it out.

Did you manage to get a VNC viewer running? I also built the docker image myself and exchanged the pyglet version, however I am not able to connect to VNC when running the image. I see that docker correctly exposes port 5900, but using VNCViewer with "localhost:5900" i get "Connection Refused by computer" error. Did you also encounter this?

Gytaco commented 2 years ago

I did not, I ended up abandoning this process and just used open-cv screen grabs for my environment signals and the keyboard inputs as my actions. I think I could do more with additional data inputs, but honestly this ended up being much simpler and surprisingly effective. I was able to train the agent to navigate the 3rd level in Goldeneye (Runway) successfully with 20mins of pretaining. I haven't had time to properly update it for other levels it was just a POC.