pkuliyi2015 / multidiffusion-upscaler-for-automatic1111

Tiled Diffusion and VAE optimize, licensed under CC BY-NC-SA 4.0
Other
4.71k stars 333 forks source link

在sdapi/v1/txt2img 如何使用 #200

Open INTKILOW opened 1 year ago

INTKILOW commented 1 year ago

在sdapi/v1/txt2img 如何使用

INTKILOW commented 1 year ago

[Tiled Diffusion] ignore tiling when there's only 1 tile or nothing to do :) Error running process: C:\Users\INTKI\Desktop\ai\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts\vae_optimize.py Traceback (most recent call last): File "C:\Users\INTKI\Desktop\ai\stable-diffusion-webui\modules\scripts.py", line 417, in process script.process(p, *script_args) TypeError: Script.process() missing 7 required positional arguments: 'enabled', 'encoder_tile_size', 'decoder_tile_size', 'vae_to_gpu', 'fast_decoder', 'fast_encoder', and 'color_fix'

Error running postprocess: C:\Users\INTKI\Desktop\ai\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts\vae_optimize.py Traceback (most recent call last): File "C:\Users\INTKI\Desktop\ai\stable-diffusion-webui\modules\scripts.py", line 445, in postprocess script.postprocess(p, processed, *script_args) TypeError: Script.postprocess() missing 1 required positional argument: 'enabled

 put("alwayson_scripts", mapOf(
                    // enabled, encoder_tile_size, decoder_tile_size,vae_to_gpu, fast_decoder, fast_encoder, color_fix,
                    "Tiled VAE" to mapOf(
                        "args" to arrayOf(false, 2048, 128, false, false, false, false)
                    ),
                    /* enabled: bool, method: str,
                      overwrite_size: bool, keep_input_size: bool, image_width: int, image_height: int,
                      tile_width: int, tile_height: int, overlap: int, tile_batch_size: int,
                      upscaler_name: str, scale_factor: float,
                      noise_inverse: bool, noise_inverse_steps: int, noise_inverse_retouch: float, noise_inverse_renoise_strength: float, noise_inverse_renoise_kernel: int,
                      control_tensor_cpu: bool,enable_bbox_control: bool, draw_background: bool, causal_layers: bool,
                      *bbox_control_states: List[Any],*/
                    "Tiled Diffusion" to mapOf(
                        "args" to arrayOf(
                            true, "Mixture of Diffusers",
                            false, true, 1024, 1024,
                            96, 96, 48, 4,
                            "None", 2,
                            false, 10, 1, 1, 64,
                            false, false, false, false,
                            arrayOf<Any>()

                        )
                    )
                )
            )