Chaoses-Ib / ComfyScript

A Python frontend and library for ComfyUI
https://discord.gg/arqJbtEg7w
MIT License
432 stars 24 forks source link

Loading lora -> error #66

Closed lschaupp closed 2 months ago

lschaupp commented 3 months 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 3 months ago
print(type(self.model), type(self.clip), type(lora_weights))

Is any of these None?

lschaupp commented 3 months 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 3 months ago

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

Chaoses-Ib commented 2 months ago

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