“ComfyUI-AnimateDiff-Evolved” 与“comfyui-animatediff-main” 工程冲突,问题解决

“ComfyUI-AnimateDiff-Evolved” 与“comfyui-animatediff-main” 工程冲突,问题解决;

Animate Diff 两个工程菜单无法同时显示的问题解决

异常描述:

使用ComfyUI来做视频动画的朋友,当我们在需要同时使用插件“ComfyUI-AnimateDiff-Evolved” 和插件“comfyui-animatediff-main”,在这两个子工程最新版当中,我们会发现这两个插件水火不相容,菜单不能同时出现,

正常情况下,你应该看到


两个这样的菜单,但是很有可能你只能到其中的一个,另一个消失不见。而且启动界面上也没有任何报错。

异常问题的表现:

下面这里全部正常启动,没有任何报错

Import times for custom nodes:

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Frame-Interpolation-main

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-post-processing-nodes-master

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\masquerade-nodes-comfyui-main

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\stability-ComfyUI-nodes

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\comfyui-animatediff-main

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyI2I-main

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Frame-Interpolation

   0.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack-main

   0.1 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite

   0.2 seconds: F:\ComfyUI\ComfyUI\custom_nodes\facerestore

   1.1 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_FizzNodes-main

   1.4 seconds: F:\ComfyUI\ComfyUI\custom_nodes\clipseg.py

   1.5 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_roop-main

   3.3 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack

   3.6 seconds: F:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux

   5.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager

   5.2 seconds: F:\ComfyUI\ComfyUI\custom_nodes\efficiency-nodes-comfyui

   7.0 seconds: F:\ComfyUI\ComfyUI\custom_nodes\AIGODLIKE-ComfyUI-Translation

  10.3 seconds: F:\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui-main

Starting server

FETCH DATA from: F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json

展示的菜单如下:缺失了一个Animated Diff 原本应该是两个的

分析异常:

我们停止整个ComfyUI进程,手工把custom_nodes目录下的整 个“comfyui-animatediff-main” 这个功能块的代码,全部移出整个comfuUI目录,

只保留刚才缺失菜单的“ComfyUI-AnimateDiff-Evolved”的代码,重新启动。这时,发现刚才缺失的菜单“Animate Diff 🎭🅐🅓”

这出现了,这就充分说有“ComfyUI-AnimateDiff-Evolved” 与“comfyui-animatediff-main” 的代码冲突。这本就是两个不同团队研发的代码,

有冲突很正常。但是我们使用都希望两个功能块组都能同时使用。怎么办呢?

只能手工改代码。


解决方案:

源码修改的办法如下:

第一步:修改$ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\__init__.py代码

修改第二行到第四行,把这三行引用主包的路径从原来的“.animatediff.”修改成".animatediff_evolved."


第二步:打开 $ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved目录,将下面的animateddiff文件夹修改成animatediff_evolved

实际上就是要通过修改其路一个工程的主包名,这样工程运行时,就可以区分两个子工程了。


第三步:重次重启,看工程“ComfyUI-AnimateDiff-Evolved” 的菜单不能不出现,重启后,我们发现“ComfyUI-AnimateDiff-Evolved” 的功能菜单,依然可以正常出现,

完全能正常运行。这说明我们刚才认为修改主包名称的行为,是正常的。好了,


第四步:接下来,只需要把先前移出去“comfyui-animatediff-main”再搬移回来,重启,这个时候我们发现两个团队开发的Animate Diff功能都同时出现在了菜单里面。

这两我们就可以同时使用两个团队的开发的关于动画的不同插件了。


更多,更专业,更疑难的技术问题,我很乐意为你解决,关注我。我有开发经验18年,现在做自媒体,但是专业基础在。 作者:刚哥旅游 https://www.bilibili.com/read/cv27488080/ 出处:bilibili

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Preface The introduction of the IBM Personal Computer in 1982 fostered a technology revolution that has changed the way the world does business. Prior to that historic milestone, several personal computers existed, e.g., Apple, TRS 80, but they were primarily used by individuals, schools, and small businesses. When computer main- frame giant, International Business Machines (IBM) entered the personal computer market in 1982, the event quickly captured the attention of corporations and gov- ernment agencies worldwide. Personal computers were no longer thought of as toys and almost overnight they were accepted as reliable business computers. Since their introduction, IBM PCs and compatible computers have evolved into powerful corporate network servers, desktop computers, and notebook computers. They have also migrated into millions of households, and their popularity exploded during the 1990s when the world discovered the Internet. The worldwide popularity of both personal computers and the Internet has been a mixed blessing. The immediate popularity of the IBM PC was not anticipated. The DOS operating system installed on the original personal computers back in 1982 was never intended for commercial use and therefore was not designed to be secure. In the interest of maintaining compatibility with the early versions of DOS, upgrades to the operating system could not adequately address security issues. As a result, most corporate desktop PCs and notebook computers lack adequate secu- rity. Millions of personal computers are used as tools to conduct financial transactions and to store trade secrets, sensitive personal medical data, and employment infor- mation. Many of these computers and more are also connected to the Internet to send and receive e-mail and to browse the wealth of information on the World Wide Web. The designers of the Internet never envisioned that it would become the hub of international commerce. As a result, security was not built into the original design of the Internet. The wide acceptance of the personal computer and the Internet has created some concerns for security that are just now being realized. The dramatic increase in computing speeds has added to the dilemma because such speeds aid hackers in breaking into systems. The inherent security problems associated with personal computers, tied to their popularity in the workplace, have fostered new corporate problems. Now internal audits involve the examination of computer records. Criminal investigations and civil investigations routinely involve computer evidence and such inquiries require new methods and tools for investigators and internal auditors alike. That is what this book is all about, and its coming has been long overdue. It deals with practical methods and techniques that have proven to be effective in law enforcement and ©2000 by CRC Press LLC military circles for years. Only recently has this type of information and tools been available to corporate auditors and investigators. Michael R. Anderson Mr. Anderson retired after 25 years of federal law enforcement service and is currently the president of New Technologies, Inc., a corporation that provides train- ing and develops specialized forensic tools for use in computer evidence processing. While employed by the federal government, he developed some of the original computer evidence training courses for the federal government and is currently a member of the faculty of the University of New Haven, Connecticut. He is also a co-founder of the International Association of Computer Investigative Specialists and is a training advisor to the National White Collar Crime Center. He can be reached via e-mail at mrande@teleport.com regarding computer evidence- and security review-related questions.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值