-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting with square images in ImagesForTraining breaks Colab processing #32
Comments
if ur images are already square u don't need to do the outpainting preprocessing |
Are any preprocessing steps needed if they're already square and 512x512? Are the mask images used for anything other than resizing? Do they need to be moved to another directory (like the _outpainting directory)? |
Unsure if this is related but with the squaring of images in the path_to_input_images I'm getting a path is not define error. NameError: name 'path' is not defined |
That one I knew how to fix. The colab is a bit of a mess and that line just got out of order. The |
Awesome, thanks. Python isn't my forte, I did think that was the issue and tried but failed to fix it. |
I tried to run the colab version of this and preprocessed my images to be square and cropped around the face I was trying to train on, but this seems to have broken the preprocessing done in the Colab. I'm sure the problem comes from hitting some of the width=height conditionals, but I don't understand what each step is doing well enough to know how to fix the problem in a sensible way. Instead I batch resized my square input images to be slightly oblong and restarted. That time all the preprocessing steps went smoothly and I was able to start training. A quick revision by someone who knows what they are doing would be helpful!!
The text was updated successfully, but these errors were encountered: