Chaoses-Ib / ComfyScript

A Python frontend and library for ComfyUI
MIT License
389 stars 21 forks source link

Loading lora -> error #66

Closed lschaupp closed 3 weeks ago

lschaupp commented 1 month ago

model, clip = LoraLoader(self.model, self.clip, lora_weights, 1, 1)

-> getting NoneType as an error when it tries to load the lora checkpoint

Anyone knows why?

Chaoses-Ib commented 1 month ago
print(type(self.model), type(self.clip), type(lora_weights))

Is any of these None?

lschaupp commented 1 month ago

I have confirmed that all of these are not NoneType - hence raising the issue. Also without the line of code, the rest of my pipeline works where self.model and self.clip is being used of course.

Chaoses-Ib commented 1 month ago

Are you using virtual mode or real mode? Can you share the original log of ComfyScript and ComfyUI?

Chaoses-Ib commented 3 weeks ago

Close because the issue can't be reproduced. Feel free to reopen it if you have further information.