Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
ComfyUI-MimicMotionWrapper
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
王骏浩
ComfyUI-MimicMotionWrapper
Commits
f7e831d6
提交
f7e831d6
authored
7月 02, 2024
作者:
kijai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
expose context options
上级
b546cfc3
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
3 行删除
+5
-3
mimic_motion_example_02.json
examples/mimic_motion_example_02.json
+0
-0
nodes.py
nodes.py
+5
-3
没有找到文件。
examples/mimic_motion_example_02.json
浏览文件 @
f7e831d6
差异被折叠。
点击展开。
nodes.py
浏览文件 @
f7e831d6
...
...
@@ -135,6 +135,8 @@ class MimicMotionSampler:
"seed"
:
(
"INT"
,
{
"default"
:
0
,
"min"
:
0
,
"max"
:
0xffffffffffffffff
}),
"fps"
:
(
"INT"
,
{
"default"
:
15
,
"min"
:
2
,
"max"
:
100
,
"step"
:
1
}),
"noise_aug_strength"
:
(
"FLOAT"
,
{
"default"
:
0.0
,
"min"
:
0.0
,
"max"
:
10.0
,
"step"
:
0.01
}),
"context_size"
:
(
"INT"
,
{
"default"
:
16
,
"min"
:
1
,
"max"
:
128
,
"step"
:
1
}),
"context_overlap"
:
(
"INT"
,
{
"default"
:
6
,
"min"
:
1
,
"max"
:
128
,
"step"
:
1
}),
"keep_model_loaded"
:
(
"BOOLEAN"
,
{
"default"
:
True
}),
},
}
...
...
@@ -144,7 +146,7 @@ class MimicMotionSampler:
FUNCTION
=
"process"
CATEGORY
=
"MimicMotionWrapper"
def
process
(
self
,
mimic_pipeline
,
ref_image
,
pose_images
,
cfg_min
,
cfg_max
,
steps
,
seed
,
noise_aug_strength
,
fps
,
keep_model_loaded
):
def
process
(
self
,
mimic_pipeline
,
ref_image
,
pose_images
,
cfg_min
,
cfg_max
,
steps
,
seed
,
noise_aug_strength
,
fps
,
keep_model_loaded
,
context_size
,
context_overlap
):
device
=
mm
.
get_torch_device
()
offload_device
=
mm
.
unet_offload_device
()
mm
.
unload_all_models
()
...
...
@@ -175,8 +177,8 @@ class MimicMotionSampler:
ref_img
,
image_pose
=
pose_images
,
num_frames
=
B
,
tile_size
=
16
,
tile_overlap
=
6
,
tile_size
=
context_size
,
tile_overlap
=
context_overlap
,
height
=
H
,
width
=
W
,
fps
=
fps
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论