Skip to content
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

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

Wanghanying
Copy link
Collaborator

seperate SegmentAnythingUltra V2 into nodes:
"BizyAirGroundingDinoModelLoader": "☁️BizyAir Load GroundingDino Model",
"BizyAirSAMModelLoader": "☁️BizyAir Load SAM Model",
"BizyAirGroundingDinoSAMSegment": "☁️BizyAir GroundingDinoSAMSegment",
"BizyAirTrimapGenerate": "☁️BizyAir Trimap Generate",


import comfy.model_management
import folder_paths
import groundingdino.datasets.transforms as T
Copy link
Collaborator

@ccssu ccssu Jan 3, 2025

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
导入需要删除

Copy link
Collaborator Author

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 = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注释掉多余的模型,只要 example 中的模型

Copy link
Collaborator Author

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+"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个节点 ci 没有 用 其他的代替,或者写个节点加到 bizyair
image

Copy link
Collaborator Author

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,),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Collaborator

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)"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants