ColossalAI icon indicating copy to clipboard operation
ColossalAI copied to clipboard

[BUG]: Unable to load my model

Open yrz7991 opened this issue 3 years ago • 1 comments

🐛 Describe the bug

Traceback (most recent call last): File "scripts/txt2img.py", line 344, in main() File "scripts/txt2img.py", line 240, in main model = load_model_from_config(config, f"{opt.ckpt}") File "scripts/txt2img.py", line 54, in load_model_from_config model = instantiate_from_config(config.model) File "/home/zrytest/stable-diffusion-main/ldm/util.py", line 85, in instantiate_from_config return get_obj_from_str(config["target"])(**config.get("params", dict())) File "/home/zrytest/stable-diffusion-main/ldm/models/diffusion/ddpm.py", line 448, in init super().init(conditioning_key=conditioning_key, *args, **kwargs) TypeError: init() got an unexpected keyword argument 'use_fp16'

Environment

No response

yrz7991 avatar Nov 24 '22 11:11 yrz7991

Thanks for your issue,I will check this problem

Fazziekey avatar Nov 28 '22 03:11 Fazziekey

We have updated a lot. This issue was closed due to inactivity. Thanks.

binmakeswell avatar Apr 14 '23 08:04 binmakeswell