Comments (2)
Training fails at " File "train_dreambooth.py", line 270, in getitem
instance_image = Image.open(self.instance_images_path[index % self.num_instance_images])
ZeroDivisionError: integer division or modulo by zero"
So you either didn't specifiy the correct folder with your training images, or your folder is empty.
Either way, you can't train without images to train on.
from diffusers.
Yup, as @rSh4d0w said, your training images folder is empty.
from diffusers.
Related Issues (20)
- Problem
- Requirements failure, Thursday, May 4, 2023
- Dreambooth enabling xformers and set_grads_to_none raises unrecognized arguments error HOT 1
- Unable to install dependencies
- RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA versions. HOT 8
- TypeError: Accelerator.__init__() got an unexpected keyword argument 'logging_dir' HOT 17
- AssertionError: You can't use same `Accelerator()` instance with multiple models when using DeepSpeed
- Why is the generated picture deformed? Why can't I generate a face picture that is the same as the original picture?
- COLAB BOG
- Colab training error
- Train multiple subjects in the same model HOT 3
- Setup for Paperspace.com
- Colab Fails to run half the time on a V100 HOT 1
- DreamBooths created with current version of Colab cannot be converted to LORAs in Kohya
- Please fix the notebook, it refuses to work. Install Requirements tab HOT 17
- Requirements error
- xformers wasn't built with CUDA support HOT 1
- Colab dreambooth notebook fail HOT 21
- Install Requirements (Fail)
- Install Requirements (Incompatible) and Exception: CUDA SETUP: Setup Failed!. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffusers.