From d1703bc0668fa6dcef273e0e4f00aec5534345ec Mon Sep 17 00:00:00 2001 From: logtd Date: Wed, 28 Aug 2024 14:46:35 -0600 Subject: [PATCH] example --- .../4dhumans_example_workflow.json | 388 ++++++++++++++++++ 1 file changed, 388 insertions(+) create mode 100644 example_workflows/4dhumans_example_workflow.json diff --git a/example_workflows/4dhumans_example_workflow.json b/example_workflows/4dhumans_example_workflow.json new file mode 100644 index 0000000..4ab99bd --- /dev/null +++ b/example_workflows/4dhumans_example_workflow.json @@ -0,0 +1,388 @@ +{ + "last_node_id": 10, + "last_link_id": 18, + "nodes": [ + { + "id": 1, + "type": "VHS_LoadVideo", + "pos": [ + -1084, + -1699 + ], + "size": [ + 235.1999969482422, + 397.04999828338623 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "frame_count", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "audio", + "type": "AUDIO", + "links": null, + "shape": 3 + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "runzz.mp4", + "force_rate": 0, + "force_size": "Disabled", + "custom_width": 512, + "custom_height": 512, + "frame_load_cap": 120, + "skip_first_frames": 0, + "select_every_nth": 5, + "choose video to upload": "image", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "frame_load_cap": 120, + "skip_first_frames": 0, + "force_rate": 0, + "filename": "runzz.mp4", + "type": "input", + "format": "video/mp4", + "select_every_nth": 5 + }, + "muted": false + } + } + }, + { + "id": 2, + "type": "ImageScale", + "pos": [ + -628, + -1704 + ], + "size": { + "0": 210, + "1": 130 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "nearest-exact", + 768, + 512, + "center" + ] + }, + { + "id": 3, + "type": "VHS_VideoCombine", + "pos": [ + 104, + -1773 + ], + "size": [ + 315, + 520.6666666666666 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 18 + }, + { + "name": "audio", + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 8, + "loop_count": 0, + "filename_prefix": "AnimateDiff", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": false, + "pingpong": false, + "save_output": false, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00003.mp4", + "subfolder": "", + "type": "temp", + "format": "video/h264-mp4", + "frame_rate": 8 + }, + "muted": false + } + } + }, + { + "id": 4, + "type": "ProcessHumans", + "pos": [ + -266, + -1448 + ], + "size": [ + 194.8000030517578, + 86 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3 + }, + { + "name": "hmr", + "type": "HMR", + "link": 7 + }, + { + "name": "detectron", + "type": "DETECTRON", + "link": 8 + } + ], + "outputs": [ + { + "name": "smpl", + "type": "SMPL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "images", + "type": "IMAGE", + "links": [ + 18 + ], + "slot_index": 1, + "shape": 3 + }, + { + "name": "masks", + "type": "MASK", + "links": [], + "shape": 3, + "slot_index": 2 + }, + { + "name": "semantic_maps", + "type": "IMAGE", + "links": [], + "slot_index": 3, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ProcessHumans" + } + }, + { + "id": 5, + "type": "LoadHMR", + "pos": [ + -626, + -1240 + ], + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "HMR", + "type": "HMR", + "links": [ + 7 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadHMR" + }, + "widgets_values": [ + "hmr35.ckpt" + ] + }, + { + "id": 6, + "type": "LoadDetectron", + "pos": [ + -630, + -1131 + ], + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "DETECTRON", + "type": "DETECTRON", + "links": [ + 8 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadDetectron" + }, + "widgets_values": [ + "model_final_f05665.pkl" + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "IMAGE" + ], + [ + 3, + 2, + 0, + 4, + 0, + "IMAGE" + ], + [ + 7, + 5, + 0, + 4, + 1, + "HMR" + ], + [ + 8, + 6, + 0, + 4, + 2, + "DETECTRON" + ], + [ + 18, + 4, + 1, + 3, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.7400249944258794, + "offset": [ + 1282.5782832562534, + 1940.1704932599632 + ] + } + }, + "version": 0.4 +} \ No newline at end of file