GithubHelp home page GithubHelp logo

Comments (4)

Sipirius avatar Sipirius commented on August 15, 2024

The loss can vary depending on how you train. For instance, if you chose to also learn the timestep-embedding by setting the parameter learn_embedding: true, your loss will still start high, regardless of the zero convolutions. In this case, the model might take a few thousand steps to start producing proper results again.

cheers

from controlnet-xs.

shoutOutYangJie avatar shoutOutYangJie commented on August 15, 2024

The loss can vary depending on how you train. For instance, if you chose to also learn the timestep-embedding by setting the parameter learn_embedding: true, your loss will still start high, regardless of the zero convolutions. In this case, the model might take a few thousand steps to start producing proper results again.

cheers

could you give some log for reference?

from controlnet-xs.

shoutOutYangJie avatar shoutOutYangJie commented on August 15, 2024

@Sipirius I have the last question. If control model branch is trained from scratch, using random weight to initialize, why controlnet-xs need "zero conv" block for feature fusion from base branch to control branch. It is not neccssary to use it because it train from scratch. Have you do some experience to test model if no "zero conv" for control branch?

from controlnet-xs.

Sipirius avatar Sipirius commented on August 15, 2024

It is beneficial to use zero convolutions to not negatively impact the genration capabilities of the network from the start. This way, the controlling model can focus right away on enhancing the generation rather than to not destroy it at first.

from controlnet-xs.

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.