T2I-Adapter icon indicating copy to clipboard operation
T2I-Adapter copied to clipboard

Errors when trying the Style Adapter (and color Adapter)

Open trendland opened this issue 2 years ago • 1 comments

Trying to do a style transfer with Model checkpoint SD 1.5 They are both loading about 50% and then these two errors :/ Any help would be great as I would really like to try these style transfers

ControlNet 0: Preprocessor: Canny -- Model: control canny ControlNet 1: Preprocessor: Clip_vision -- Model: T2iadapter_style_sd14V1

RuntimeError: !(has_different_input_dtypes && !config.promote_inputs_to_common_dtype_ && (has_undefined_outputs || config.enforce_safe_casting_to_output_ || config.cast_common_dtype_to_outputs_)) INTERNAL ASSERT FAILED at "/Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/TensorIterator.cpp":407, please report a bug to PyTorch.

Error with Color Adapter

Controlnet 0: Preprocessor: Canny -- Model: control canny ControlNet 1: Preprocessor: Clip_vision -- Model: T2iadapter_color_sd14V1

RuntimeError: pixel_unshuffle expects height to be divisible by downscale_factor, but input.size(-2)=257 is not divisible by 8

Thank you!

trendland avatar Mar 07 '23 12:03 trendland

Yeap I'm getting a similar issue:

RuntimeError: [srcBuf length] > 0 INTERNAL ASSERT FAILED at "/Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/mps/OperationUtils.mm":277, please report a bug to PyTorch. Placeholder tensor is empty!

Any time I try to use the t2i style adapter on controlnet with A1111.

ptppan avatar Mar 07 '23 20:03 ptppan