-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'segment-anything' of github.com:siliconflow/BizyAir int…
…o segment-anything
- Loading branch information
Showing
66 changed files
with
26,296 additions
and
6,952 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# ComfyUI/comfy_extras/nodes_model_advanced.py | ||
from bizyair import BizyAirBaseNode, BizyAirNodeIO, data_types | ||
|
||
|
||
class ModelSamplingSD3(BizyAirBaseNode): | ||
@classmethod | ||
def INPUT_TYPES(s): | ||
return { | ||
"required": { | ||
"model": (data_types.MODEL,), | ||
"shift": ( | ||
"FLOAT", | ||
{"default": 3.0, "min": 0.0, "max": 100.0, "step": 0.01}, | ||
), | ||
} | ||
} | ||
|
||
RETURN_TYPES = (data_types.MODEL,) | ||
# FUNCTION = "patch" | ||
|
||
CATEGORY = "advanced/model" |
139 changes: 139 additions & 0 deletions
139
docs/docs/examples/bizyair_anime_image_super_resolution_workflow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
{ | ||
"last_node_id": 35, | ||
"last_link_id": 47, | ||
"nodes": [ | ||
{ | ||
"id": 34, | ||
"type": "BizyAirSuperResolution", | ||
"pos": [ | ||
2158, | ||
623 | ||
], | ||
"size": { | ||
"0": 315, | ||
"1": 58 | ||
}, | ||
"flags": {}, | ||
"order": 1, | ||
"mode": 0, | ||
"inputs": [ | ||
{ | ||
"name": "image", | ||
"type": "IMAGE", | ||
"link": 46 | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "IMAGE", | ||
"type": "IMAGE", | ||
"links": [ | ||
47 | ||
], | ||
"shape": 3, | ||
"slot_index": 0 | ||
} | ||
], | ||
"properties": { | ||
"Node name for S&R": "BizyAirSuperResolution" | ||
}, | ||
"widgets_values": [ | ||
"2x" | ||
] | ||
}, | ||
{ | ||
"id": 33, | ||
"type": "LoadImage", | ||
"pos": [ | ||
1830, | ||
614 | ||
], | ||
"size": [ | ||
315, | ||
314 | ||
], | ||
"flags": {}, | ||
"order": 0, | ||
"mode": 0, | ||
"outputs": [ | ||
{ | ||
"name": "IMAGE", | ||
"type": "IMAGE", | ||
"links": [ | ||
46 | ||
], | ||
"shape": 3, | ||
"slot_index": 0 | ||
}, | ||
{ | ||
"name": "MASK", | ||
"type": "MASK", | ||
"links": null, | ||
"shape": 3 | ||
} | ||
], | ||
"properties": { | ||
"Node name for S&R": "LoadImage" | ||
}, | ||
"widgets_values": [ | ||
"葫芦娃吐火.webp", | ||
"image" | ||
] | ||
}, | ||
{ | ||
"id": 35, | ||
"type": "PreviewImage", | ||
"pos": [ | ||
2165, | ||
721 | ||
], | ||
"size": [ | ||
321.3333740234375, | ||
364.0000305175781 | ||
], | ||
"flags": {}, | ||
"order": 2, | ||
"mode": 0, | ||
"inputs": [ | ||
{ | ||
"name": "images", | ||
"type": "IMAGE", | ||
"link": 47 | ||
} | ||
], | ||
"properties": { | ||
"Node name for S&R": "PreviewImage" | ||
} | ||
} | ||
], | ||
"links": [ | ||
[ | ||
46, | ||
33, | ||
0, | ||
34, | ||
0, | ||
"IMAGE" | ||
], | ||
[ | ||
47, | ||
34, | ||
0, | ||
35, | ||
0, | ||
"IMAGE" | ||
] | ||
], | ||
"groups": [], | ||
"config": {}, | ||
"extra": { | ||
"ds": { | ||
"scale": 1, | ||
"offset": { | ||
"0": -918, | ||
"1": -317.33331298828125 | ||
} | ||
} | ||
}, | ||
"version": 0.4 | ||
} |
Oops, something went wrong.