Giter VIP home page Giter VIP logo

Comments (1)

jantic avatar jantic commented on September 27, 2024

Firstly,learn_gen.freeze() only freezes the conv layer, not the BN layer.Do I need to freeze the BN layer separately?

That was a deliberate design decision by FastAI. I honestly forget what the exact justification was for it, but it was deliberate. You can modify the source code there of the FastAI fork there if you want to experiment with it of course!

Secondly,after training the 192px portion, the resulting image was then put into the GAN for training, but why was it clean when it was put in and ended up with a lot of dirty data?

So what I'm seeing there is evidence of instability of training. Especially the blue blobs and the b/w images. Top candidates for causing this are:

  1. Changing the batch size without modifying the learning rate accordingly, or vice versa. Generally you want to halve the learning rate if you halve the batch size, and the other way around if you double it.
  2. Using fp16 (mixed precision) training naively. I've never tried mixed precision with this particular repo, but I did with my commercial stuff and I can tell you there's an art to doing it.
  3. Changing anything with the architecture without experimenting with updates to learning rate via learning rate finder.
  4. Changing the optimizer.

Hope that helps!

from deoldify.

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.