Git Product home page Git Product logo

Comments (4)

gasvn avatar gasvn commented on July 18, 2024 1

It should be able to work with 1024x768. Maybe there are some settings that make this resolution not working. I will check it and let you know.

from editanything.

gasvn avatar gasvn commented on July 18, 2024

Currently, we are using SD 2.1 as the base model, so we are using 512x512 for training. Do you mean to train a model with resolution 1024 x 768? I think that's achievable.

from editanything.

alelordelo avatar alelordelo commented on July 18, 2024

Yup, train the model with 1024 x 768, instead of 512x512. Do you think that is possible?

I tried something like this in ControlNet original repo, but didn't work:

accelerate launch train_controlnet.py
--pretrained_model_name_or_path=$MODEL_DIR
--output_dir=$OUTPUT_DIR
--dataset_name=fusing/fill50k
*--resolution=1024x768 *
--learning_rate=1e-5
--validation_image "./conditioning_image_1.png" "./conditioning_image_2.png"
--validation_prompt "red circle with blue background" "cyan circle with brown floral background"
--train_batch_size=4

from editanything.

alelordelo avatar alelordelo commented on July 18, 2024

Thanks @gasvn , if we can have custom aspect ratio that would open a lot of possibilities!

from editanything.

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.