Skip to content
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

Feature Request: Port from tensorflow 1.15 to 2 #14

Open
TimiH opened this issue Jul 8, 2021 · 4 comments
Open

Feature Request: Port from tensorflow 1.15 to 2 #14

TimiH opened this issue Jul 8, 2021 · 4 comments

Comments

@TimiH
Copy link

TimiH commented Jul 8, 2021

Would be nice to just run the scripts themself in tensor flow 2. This way it would be a lot easier to avoid the docker hassle, since tf=1.15 is not available in python 3.9 anymore.

@vmunhoz
Copy link

vmunhoz commented Mar 17, 2023

yeah, I was trying to run it without docker and faced this as well. I'm really interested in this project, but I'm not familiar enough with all of this in order to try to make a pull request to update the libraries.

@pbtura
Copy link

pbtura commented Jun 27, 2023

I've been trying and the problem is harder than it looks. To get support for TF2 requires migrating to Stable-Baselines3. Significant portions of the code would have to be completely re-written. Not impossible for someone familiar with SB3, but well beyond what I could do.

@pbtura
Copy link

pbtura commented Jun 29, 2023

If anyone is interested, I think I finally made a breakthrough. The custom 'model' classes were a roadblock so I ended up bypassing them and just using the default stable_baselines3.common.policies.ActorCriticPolicy . I have the training working for sushigo and I plan to eventually update the other games as well. The code can be found here: https://github.com/pbtura/SIMPLE

Be aware that this is very much an experimental work in progress. I still have a TON of work to do updating the other games and testing to find out what else is broken.

@Fabbe
Copy link

Fabbe commented Jul 19, 2023

@pbtura do you need help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants