mirror of
https://github.com/ahgsql/StyleSelectorXL.git
synced 2026-11-05 00:37:24 +00:00
[GH-ISSUE #1] Cannot use Hires. fix #3
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ahgsql/StyleSelectorXL#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mwbdcz on GitHub (Aug 2, 2023).
Original GitHub issue: https://github.com/ahgsql/StyleSelectorXL/issues/1
After enabling the StyleSelectorXL plugin, opening (Hires. fix) will report an error.It seems to be caused by not inputting prompt words.
*** Error completing request
*** Arguments: ('task(kdl6yijpo2wttb3)', '1girl, ', '', [], 20, 18, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 1024, 1024, True, 0.7, 1.1, 'Latent', 20, 0, 0, 0, '', '', [], <gradio.routes.Request object at 0x000001BD0092BAF0>, 0, True, '3D Model', False,
Change the process (self, p, is_enabled, style) in the program to process_ Batch (self, p, is_enabled, style, * * kwargs) can solve problems
@ahgsql commented on GitHub (Aug 2, 2023):
Will check today and fix it soon
@ahgsql commented on GitHub (Aug 5, 2023):
cant reproduce this issue, its working with Hires.Fix with no errors. Can you direct me to get your erros. In which stage or screen you saw that error
@blacklockshoot commented on GitHub (Aug 6, 2023):
i got same problem when i use styleselect with Hires. fix,
TypeError: must be real number, not NoneType
dreamshaperXL checkpoint,
hires step 0 and Denoising strength 0.45
size is 1024 x 1024
if i disable styleselect, all processing with no problem
@Zibbibbo commented on GitHub (Aug 8, 2023):
I have the same problem
@acezard commented on GitHub (Aug 9, 2023):
@ahgsql, please try following these steps in order to reproduce the error. On my end it is a 100% reproducible bug
When cycling through enabling and disabling the "hires fix" and "style selector" options, I encounter a
TypeError: must be real number, not NoneType.Steps to Reproduce:
Initial Setup
Disabling Hires Fix
Re-enabling Hires Fix
TypeError: must be real number, not NoneType(❌)Disabling Either Option
Re-enabling Disabled Option from Step 4
TypeError: must be real number, not NoneType(❌)@naql commented on GitHub (Aug 10, 2023):
I ran into this error when I first downloaded your extension, then it went away by itself. THen I updated, I see you have added a bunch of new styles and the error has come back. Here is the full stack trace:
For me, I do NOT get this error if it is "Base" selected, but any of the other styles do generate the error. I did not realize that "Hires-fix" was involved in this. I tried unchecking that and, sure enough, it did generate and use your style. As soon as I re-enable Hires-fix, it comes back and cannot generate until your styles are unselected.
@wardensc2 commented on GitHub (Aug 13, 2023):
Please fix the issue with Hires Fix, I got the same bug as other people. I can only use Base Style without error.
I test with SD 1.5, your extension work well but not SD XL not sure what happen.
@mwbdcz commented on GitHub (Aug 15, 2023):
Roughly analyze process and process_ Batch is different. Process will only be called once during generation_ Batch is called before each generation. The reason for the error is not difficult to see from the stack trace that the prompt word after '3D Model' is missing, only this title. Hires.fix will be generated twice, but due to the fact that process is only called on the first generation and not called on the second, the prompt words before and after are inconsistent. So reported an error, I am not a professional. But change process() to process_ Batch() after , the problem was indeed resolved
@eniora commented on GitHub (Aug 18, 2023):
Same here when using Hires fix with SDXL 1.0
"TypeError: must be real number, not NoneType"
@wardensc2 commented on GitHub (Aug 18, 2023):
Can you describe how to fix manually by editing some files ??
@ahgsql commented on GitHub (Aug 18, 2023):
Tried all of steps, but just couldn't reproduce it. not sure why, no matter how many times i enable and disable hires, or change styles.
But it seems really annoying, And changing process to process_batch causing another errors thats needs to be fixed for general usage. Any one can fix, please create pull request. I am kinda busy these weeks
@wardensc2 commented on GitHub (Aug 20, 2023):
Here is my screenshot when using hires fix
@naql commented on GitHub (Sep 5, 2023):
with the latest, it's no longer blowing up, it's just not doing anything. uninstalling