-
Notifications
You must be signed in to change notification settings - Fork 24
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
seperate SegmentAnythingUltra V2 into nodes #291
base: master
Are you sure you want to change the base?
Conversation
|
||
import comfy.model_management | ||
import folder_paths | ||
import groundingdino.datasets.transforms as T |
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.
这个import groundingdino.datasets.transforms as T
导入需要删除
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.
Done
|
||
from bizyair import BizyAirBaseNode | ||
|
||
sam_model_list = { |
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.
注释掉多余的模型,只要 example 中的模型
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.
Done
], | ||
"outputs": [], | ||
"properties": { | ||
"Node name for S&R": "MaskPreview+" |
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.
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.
Done
] | ||
return { | ||
"required": { | ||
"detail_method": (method_list,), |
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.
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.
看组合的节点有这个 detail_method 中 pymatting 和 guiderfilter , VITMatteModelLoader 中只有 VITMatte", "VITMatte(local)"
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.
Done
seperate SegmentAnythingUltra V2 into nodes:
"BizyAirGroundingDinoModelLoader": "☁️BizyAir Load GroundingDino Model",
"BizyAirSAMModelLoader": "☁️BizyAir Load SAM Model",
"BizyAirGroundingDinoSAMSegment": "☁️BizyAir GroundingDinoSAMSegment",
"BizyAirTrimapGenerate": "☁️BizyAir Trimap Generate",