I am reaching out to report an issue I encountered while using the Stable Diffusion Web UI. Despite setting the image size to 1024x576, I am receiving an error that suggests the 'height' and 'width' variables in the 'sd_models_xl.py' file are not receiving these values correctly.
The error message is as follows:
TypeError: must be real number, not NoneType
This error is being thrown at the following line of code:
python
"original_size_as_tuple": torch.tensor([height, width], **devices_args).repeat(len(batch), 1),
It appears that either the 'height' or 'width' variable (or possibly both) are being set to None, despite my having set the image size explicitly in the UI.
I have double-checked my settings, and I am confident that I have set the image size correctly. However, it seems that this setting is not being reflected in the 'height' and 'width' variables as expected.
I am currently using version [1.7.0] of the Stable Diffusion Web UI. If this issue has been addressed in a more recent version, please let me know.
Any assistance or guidance on how to resolve this issue would be greatly appreciated. Thank you for your time and help.
Dear Developer,
I am reaching out to report an issue I encountered while using the Stable Diffusion Web UI. Despite setting the image size to 1024x576, I am receiving an error that suggests the 'height' and 'width' variables in the 'sd_models_xl.py' file are not receiving these values correctly.
The error message is as follows:
TypeError: must be real number, not NoneType This error is being thrown at the following line of code:
python "original_size_as_tuple": torch.tensor([height, width], **devices_args).repeat(len(batch), 1), It appears that either the 'height' or 'width' variable (or possibly both) are being set to None, despite my having set the image size explicitly in the UI.
I have double-checked my settings, and I am confident that I have set the image size correctly. However, it seems that this setting is not being reflected in the 'height' and 'width' variables as expected.
I am currently using version [1.7.0] of the Stable Diffusion Web UI. If this issue has been addressed in a more recent version, please let me know.
Any assistance or guidance on how to resolve this issue would be greatly appreciated. Thank you for your time and help.
Best regards,