Giter VIP home page Giter VIP logo

Comments (2)

YunzhuLi avatar YunzhuLi commented on August 11, 2024

Hi Sergiy,

Thank you for pointing this out. Would you please let me know the versions of your Python, Tensorflow, and Keras? Specifically, are you using Python 3? The code was working fine using Python 2.7, Tensorflow 0.12.1and Keras 1.2.2, as I've stated in the readme.

To give you more context, I brought the implementation of TRPO from this repo, where the functions of SetFromFlat and linesearch are exactly the same, please see here and here.

If you have concerns with naming in the function linesearch, you can also refer to these implementations, here, here, and here, where people are adopting the same naming practice.

Best,
Yunzhu

from infogail.

MarvineGothic avatar MarvineGothic commented on August 11, 2024

Yes, I'm using Python 3. I can't use Python 2.7 because it's too old for other projects, so I didn't try it. So I think you are right about that, and it's not a bug but just a different Python version. Sorry for inconvenience! But anyways, I hope it will help other programmers who want to shift to Python 3.
And I understand that you utilized some other codes, but still you could change names to something more meaningful. It's not a requirement but rather a good suggestion, so for us it would be much easier to understand the code and all that math behind it.
However, apart from the this, I just want to apologize and leave a good feedback on this project. It's a great job you've done!

from infogail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.