Open ReEnMikki opened 1 year ago
Have you already solved it?
You didn't upload instance images
Chat GPT tol me this
This error message indicates that there is a problem with the code in the file "/content/diffusers/examples/dreambooth/train_dreambooth.py" on line 798. The specific error is a "ValueError" that says "num_samples should be a positive integer value, but got num_samples=0". This means that the code is trying to create a data loader using a dataset with 0 samples, which is not valid.
To fix this error, you will need to investigate the code in the train_dreambooth.py file and determine why the dataset has 0 samples. This might be due to an error in how the dataset is constructed or loaded, or it might be due to an incorrect configuration of the code. Once you have identified the cause of the error, you can modify the code to fix the problem and prevent the dataset from having 0 samples. This should allow the code to run without encountering the ValueError.