was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

device referenced before assignment

Open picobyte opened this issue 2 years ago • 1 comments

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.

picobyte avatar Oct 29 '23 23:10 picobyte

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

WASasquatch avatar Nov 01 '23 04:11 WASasquatch