WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.22k stars 177 forks source link

device referenced before assignment #258

Open picobyte opened 1 year ago

picobyte commented 1 year ago

this errors here

The solution is to move the assignment of device to before the branching.

I ran into this while running the MIDAS depth approximation on an image.

WASasquatch commented 1 year ago

Probably left over from moving to model loader, I only use MiDaS model loader now and haven't had an error.