Giter Site home page Giter Site logo

Comments (6)

aelnouby avatar aelnouby commented on June 3, 2024

It means build pytorch from source code.

from text-to-image-synthesis.

dragen1860 avatar dragen1860 commented on June 3, 2024

Hi, why should build pytorch from source code? Could you explain that? thanks.

from text-to-image-synthesis.

aelnouby avatar aelnouby commented on June 3, 2024

The pytorch version you install using pip or conda is not the latest, it is the latest stable version they have published, sometimes they implement features on the repo but they are not yet added to the published version, in this case you need the build their source code from the master branch to get the latest features, second order gradients follows this case.

However, last week pytorch published a new version, so it might include the second order gradients. In this case you do not need to build from source, however I am not sure if it is included or not.

from text-to-image-synthesis.

dragen1860 avatar dragen1860 commented on June 3, 2024

@aelnouby thanks for your detailed explaination, which is exactly what i want to known.
Which API involves the 2nd gradients you used, by the way?

from text-to-image-synthesis.

dragen1860 avatar dragen1860 commented on June 3, 2024

Hi, Pytorch support higher order gradients from v0.2 already, please refer to : https://github.com/pytorch/pytorch/releases/tag/v0.2.0

from text-to-image-synthesis.

aelnouby avatar aelnouby commented on June 3, 2024

Great ! at the time of this project development this feature was not available. I will edit the ReadMe. Thanks.

from text-to-image-synthesis.

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.