hongzimao / pensieve

Neural Adaptive Video Streaming with Pensieve (SIGCOMM '17)
http://web.mit.edu/pensieve/
MIT License
521 stars 281 forks source link

Python 3.x + TensorFlow 2.x #139

Open lixzhang opened 2 years ago

lixzhang commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Thanks for the nice work!