Coder Social home page Coder Social logo

Comments (6)

dx777 avatar dx777 commented on August 16, 2024

Update the extension to the latest version, it was resolved in afef533

from sd_dreambooth_extension.

Celarye avatar Celarye commented on August 16, 2024

Ok, tyvm!

from sd_dreambooth_extension.

Celarye avatar Celarye commented on August 16, 2024

Now I have this new error:

Traceback (most recent call last): File "C:\Users\celar\stable-diffusion-webui\modules\ui.py", line 185, in f res = list(func(*args, **kwargs)) File "C:\Users\celar\stable-diffusion-webui\webui.py", line 54, in f res = func(*args, **kwargs) File "C:\Users\celar\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\dreambooth.py", line 265, in start_training trained_steps = main(config) File "C:\Users\celar\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\train_dreambooth.py", line 632, in main train_dataloader = torch.utils.data.DataLoader( File "C:\Users\celar\stable-diffusion-webui\venv\lib\site-packages\torch\utils\data\dataloader.py", line 353, in __init__ sampler = RandomSampler(dataset, generator=generator) # type: ignore[arg-type] File "C:\Users\celar\stable-diffusion-webui\venv\lib\site-packages\torch\utils\data\sampler.py", line 107, in __init__ raise ValueError("num_samples should be a positive integer " ValueError: num_samples should be a positive integer value, but got num_samples=0

from sd_dreambooth_extension.

dx777 avatar dx777 commented on August 16, 2024

It clearly says that you need to have number of samples more than 0...

from sd_dreambooth_extension.

Celarye avatar Celarye commented on August 16, 2024

Oh my bad, forgot to change that one after the restart.

from sd_dreambooth_extension.

dugemkakek avatar dugemkakek commented on August 16, 2024

Oh my bad, forgot to change that one after the restart.

so what did you change ? i encounter a same problem

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.