MCPcopy Create free account
hub / github.com/chenfei-wu/TaskMatrix / __init__

Method __init__

visual_chatgpt.py:649–651  ·  view source on GitHub ↗
(self, device)

Source from the content-addressed store, hash-verified

647
648class Image2Depth:
649 def __init__(self, device):
650 print("Initializing Image2Depth")
651 self.depth_estimator = pipeline('depth-estimation')
652
653 @prompts(name="Predict Depth On Image",
654 description="useful when you want to detect depth of the image. like: generate the depth from this image, "

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected