You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class ControlNetUnit:
def init(
self,
input_image: Image = None,
mask: Image = None,
....
)
How to generate mask image and use the mask image as the ControlNetUnit class parameter?
r = api.controlnet_detect(images=[img], module='canny')
r.image
Is using detect function right to generate the mask image?
The text was updated successfully, but these errors were encountered:
class ControlNetUnit:
def init(
self,
input_image: Image = None,
mask: Image = None,
....
)
How to generate mask image and use the mask image as the ControlNetUnit class parameter?
r = api.controlnet_detect(images=[img], module='canny')
r.image
Is using detect function right to generate the mask image?
The text was updated successfully, but these errors were encountered: