Coder Social home page Coder Social logo

Comments (3)

d8ahazard avatar d8ahazard commented on August 16, 2024

When I use prior reservation, it tells me args.prior_loss_weight doesn't exist in the train_dreambooth.py line 796 loss = loss + args.prior_loss_weight * prior_loss

I quickly turned it into loss = loss + prior_loss just to test it and it seems to be churning well. I'm not sure where args.prior_loss_weight should be defined.

also it would be good to specify the labels correctly. db_train_batch_size = gr.Number(label="Batch Size", precision=1, value=1) db_sample_batch_size = gr.Number(label="Class Batch Size", precision=1, value=1) it's confusing, I needed to look into the code to see what is what. so Batch size should be labeled Train Batch Size etc...

This should have been fixed last night, at least the missing prior loss weight value.

As far as "confusing labels" go, I'll be writing up a readme for this today so it's not so esoteric. The problem with coming up with labels is that even the ones within the project don't necessarily line up with various terminology. For example, in one spot, the images used with Prior Preservation are referred as classifier images, but in other parts of the code, they're called "sample" images.

from sd_dreambooth_extension.

MV799 avatar MV799 commented on August 16, 2024

Thanks!
It successfully finished last night, but with the default and about steps 100x images, it brutally overtrained. I'm not sure where was the issue, I'll have to check. I'll try to do another batch today with the new pull.
Thanks, for making this - in general, it seems to be working well.

from sd_dreambooth_extension.

d8ahazard avatar d8ahazard commented on August 16, 2024

Thanks! It successfully finished last night, but with the default and about steps 100x images, it brutally overtrained. I'm not sure where was the issue, I'll have to check. I'll try to do another batch today with the new pull. Thanks, for making this - in general, it seems to be working well.

My pleasure.

Try ensuring you have a class prompt and around 100 for the class images as well, see if that helps with the overtraining.

Closing.

from sd_dreambooth_extension.

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.