-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dockerfile #128
base: master
Are you sure you want to change the base?
Add Dockerfile #128
Conversation
Hi! |
For the installation (pip), it does not, however I haven't tried training an entire model with it.
What workflows do you have in mind? |
I was struggling getting this to run under python 3.12. so I decided to give this docker image a go. I made a few small tweaks which don't feel worth contributing but are maybe worth noting here: Dockerfile
The main differences are:
I then run it using this docker-compose docker-compose.yaml
And for complete clarity here are the build & run commands:
I don't know if this is completely working or not since I wasn't able to get it to run outside of docker, but I was able to get things to show up in https://pwhiddy.github.io/pokerl-map-viz/. in terms of the session screenshots, The "curframe" screenshots work fine, but the reward frames screenshots are usually black/white boxes (with a few exceptions, so maybe it's actually working) I look forward to playing with this more! Edit: I just updated the dockerfile to install ffmpeg and the video generation seems to work (for anyone just getting started it's off by default, look for the |
I created a simple Dockerfile that installs all required python & system dependencies and runs one of the python scripts (currently
run_baseline_parallel.py
, but this can easily be adapted). This pull request is related to #111In case we want to support multiple commands (not just
run_baseline_parallel.py
) it would be appropriate to create multiple Dockerfiles or an entry point script.