-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add segment-anything node #157
base: master
Are you sure you want to change the base?
Conversation
Your code does not meet the Black formatting standards. |
Your code does not meet the Black formatting standards. |
Your code does not meet the Black formatting standards. |
@@ -0,0 +1,162 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个例子效果不好,不需要了
@@ -0,0 +1,166 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同步更新下仓库的 bizyair_example_menu.json 文件。
加一个 Segment Anything xxxx
supernode.py
Outdated
"image": None, | ||
"input_points": None, | ||
"input_label": None, | ||
"input_boxes": None, | ||
"prompt": None, | ||
"box_threshold": None, #置信度 | ||
"text_threshold": None, | ||
"mode": 0 #自动分割模式 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个最好根据 mod 来决定如何传参数,而不是所有 mode,传一样的参数。
supernode.py
Outdated
|
||
msg = ret["data"] | ||
if msg["type"] not in ( | ||
"comfyair", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comfyair 可以删除
supernode.py
Outdated
@@ -243,16 +246,177 @@ def super_resolution(self, image): | |||
image = image.to(device) | |||
return (image,) | |||
|
|||
class BizyAirSegmentAnythingAuto: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个效果还不好,可以删除
Your code does not meet the Black formatting standards. |
Your code does not meet the Black formatting standards. |
add auto segment-anything node