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

Python 3.x + TensorFlow 2.x #139

Open
lixzhang opened this issue Nov 11, 2021 · 3 comments
Open

Python 3.x + TensorFlow 2.x #139

lixzhang opened this issue Nov 11, 2021 · 3 comments

Comments

@lixzhang
Copy link

Do you have a version of the code in Python 3.x + TensorFlow 2.x? This'll help me run on a platform that does not have Python 2.7 + TensorFlow 1.1.0.

@hongzimao
Copy link
Owner

Unfortunately we developed this project before python 3+ or tensorflow 2+ was out. But the codebase should be straightforward to reimplement with other libraries. For example, others have developed pytorch version with python 3+ https://github.com/shinshiner/Pytorch-pensieve, hope repos like this can help.

@ahmad-hl
Copy link

ahmad-hl commented Dec 14, 2021

I have upgraded Pensieve code into python 3.8 & tensorflow 2.7.0 at the following repo:
https://github.com/ahmad-hl/pensieve-py38

The upgrade includes also fixing some issues raised in the pull requests which are:

deprecates keep_dims, reduction_indices, actor/critic split5 layer inputs in a3c.py, remove wrapping array in multi_agent.py

@hongzimao
Copy link
Owner

Thanks for the nice work!

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

3 participants