Date:

Fixing High Res Fix Script

Fixing the High Res Fix Script Error in ComfyUI

The Issue

When using the High Res Fix Script that comes with the Efficiency Nodes in ComfyUI, you may encounter a strange error where the workflow fails to run without any error message. In the ComfyUI logs, you may see an error like:

"Prompt outputs failed validation HighRes-Fix Script 37: Value not in list: preprocessor: ‘ ‘ not in (list of length 47)"

What is the High Res Fix Script?

The High Res Fix Script is a tool used to upscale an initial 512px image by a specified factor using the Ksample (Efficient) node. This script can be seen in the screenshot below.

[Image: High Res Fix Script 1.5x]

The Fix

To resolve this issue, right-click on the High Res Fix Script node and select "Fix node (recreate)". This should recreate the node, allowing you to try running the workflow again. However, this may not be successful, and you may encounter another error.

Error 2: "Prompt outputs failed validation HighRes-Fix Script"

This error typically appears as a red box with a popup error message, stating:

"Prompt outputs failed validation HighRes-Fix Script: – Value -1 smaller than min of 0:seed"

Fixing Error 2

To resolve this issue, change the "use_same_seed" from "true" to "false" and the "seed" to "0". This can be seen in the screenshot below.

[Image: High Res Fix Script – Seed]

Conclusion

By following these steps, you should be able to fix the High Res Fix Script error in ComfyUI and get your workflow running smoothly. You can even try setting the "seed" to "-1" to have it randomly generated.

FAQs

Q: What is the High Res Fix Script used for?
A: The High Res Fix Script is used to upscale an initial 512px image by a specified factor using the Ksample (Efficient) node.

Q: How do I fix the High Res Fix Script error?
A: Right-click on the High Res Fix Script node, select "Fix node (recreate)", and then change the "use_same_seed" from "true" to "false" and the "seed" to "0".

Q: What is the purpose of the "seed" in the High Res Fix Script?
A: The "seed" is used to randomly generate values for the Ksample (Efficient) node. Setting it to "-1" allows for random generation.

Q: How do I support your site?
A: You can support our site by buying us a Ko-fi, grabbing a product, or subscribing.

Latest stories

Read More

LEAVE A REPLY

Please enter your comment!
Please enter your name here