-
Notifications
You must be signed in to change notification settings - Fork 952
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
Known issues with colab #191
Comments
Quick update that we are working on getting OpenSpiel to work on Ubuntu 20.04 (see #166). I think those fixes will also mostly fix colab, so stay tuned! |
Hello again @lanctot, I have been able to construct a Dockerized OpenSpiel JupyterLab so that users can experiment with the code and write new algorithms in the popular Jupyter Notebook environment. Thanks to Docker you can also deploy it on a larger VM without a hassle (we are doing this with a Compute Optimized Azure instance at the moment) and have an amazing development workflow. When I have some time left I will push my changes! |
This looks awesome! Thanks @yarncraft for your continued contributions :) |
This might not be a complete fix, but in some cases simply reverting to Tensorflow 1.x will make everything work. I have been using policy_gradients.py, for example, and currently Colab will spit out a bunch of errors. Simply run a cell with this first and it will work: %tensorflow_version 1.x |
I submitted a PR that offers a good alternative: |
It seems that the some packages on colab servers have been upgraded (e.g. sonnet) causing some backward-compatibility issues with the Python learning algorithms. (See some discussion here: #190)
We know about it, but we're not sure when we will be able to fix this. If anybody works out what to fix, a PR would be greatly appreciated!
The text was updated successfully, but these errors were encountered: