Skip to content

classic模式使用后,会出现多次运行ksample的情况,代码中有bug #185

Description

@chenleichl

Storydiffusion_node.py代码中,针对classic的cf_clip函数处理,出错:
错误代码:

if infer_mode=="classic": #TODO 逆序的角色会出现iD不匹配,受影响的有story文生图
    only_role_emb= cf_clip(only_role_list, clip, infer_mode,role_list) #story模式需要拆分prompt,所以这里需要传入role_list

应该调整为:

if infer_mode=="classic": #TODO 逆序的角色会出现iD不匹配,受影响的有story文生图
    #少写了[]
    only_role_emb= cf_clip([only_role_list], clip, infer_mode,role_list) #story模式需要拆分prompt,所以这里需要传入role_list
    

应该是处理story模式引入的

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions