Comments (5)
After some digging around, I believe I found the issue. For whatever reason (likely related to some particular setup with Apple Silicon Macs but could also be relevant to Windows devices), the extension isn't able to update the installed transparent_background
dependency module to the required version during installation.
The update process fails because transparent_background
itself requires the pyvirtualcam
module, but pip struggles to install this package into Automatic's virtual environment. Actually, even attempting a regular pip install of pyvirtualcam
on my Mac fails, giving ERROR: Could not find a version that satisfies the requirement pyvirtualcam
.
The result of all of this is that transparent_background
remains in an improper version and cannot initiate the Remover
object (i.e., the outdated version of transparent_background
does not have a fast
argument for initiating Remover
).
I would greatly appreciate if any of the contributors can help debug this issue so that this extension works on M1/M2 devices out-of-the-box. Perhaps future versions of this extension can find an alternative module to transparent_background
, since it appears to only be used in stage1.py
for creating the masks and there are other ways to accomplish this.
from ebsynth_utility.
I haven't tried it, but can you install it with this?
pip install git+https://github.com/letmaik/pyvirtualcam
from ebsynth_utility.
Yes, I can "forcibly" install pyvirtualcam
by either passing the git repo URL to pip3
or downloading the ZIP and installing locally. Regular call of pip3 install pyvirtualcam
doesn't work though.
The issue is that Automatic's venv still does not install pyvirtualcam
as a dependency when installing the extension. I checked Automatic's site-packages
directory and pyvirtualcam
does not exist. As expected, because it doesn't exist, transparent_background
module remains in an outdated version with a Remover
package that doesn't have the fast
argument.
Perhaps, in this extension's install.py
script, it can check and install pyvirtualcam
before installing transparent_background
? But I worry that there is a deeper reason why pyvirtualcam
doesn't install along with transparent_background
as a dependency in the first place...
from ebsynth_utility.
https://github.com/letmaik/pyvirtualcam/issues/97
Perhaps this is the problem.
Shouldn't be a problem except for the MAC.
from ebsynth_utility.
Yes, this is exactly the issue I'm referring to. Seems they have no intension of addressing the issue though.
Regardless, I edited the extension code and now stage 1 successfully completes (masks are generated). I will provide manual resolution below, but hope something similar is implemented in future updates to the extension so that the below manual fix does not need to be applied with every update.
- Make sure to quit A1111 (just to be safe just exit Terminal as well).
- Go into
/stable-diffusion-webui/extensions/ebsynth_utility
and openinstall.py
. - Add the following block of code on line 11 and save the file. It should go below the first function
update_transparent_background
.
if not launch.is_installed("pyvirtualcam"):
launch.run_pip("install git+https://github.com/letmaik/pyvirtualcam", "requirements for Ebsynth Utility")
- Launch A1111. Stage 1 for this extension should now work for you.
from ebsynth_utility.
Related Issues (20)
- Request to update comfyui node
- 开发作者是**人还是 老外,不能更改项目文件夹,改了以后输出为空。
- stage5 no files in C:\ HOT 3
- ConnectTimeout
- stage1 video_frame and video_mask is empty. HOT 2
- Images not generating
- is it done?
- The background option is incorrect HOT 1
- stage2.py ERRORS
- Why did I look like this in the third step HOT 1
- Error while using clip segment masking in stage1
- Permission error Generation TEST!!! is selected for more than one generation test.
- WARNING - Warn: Using legacy field 'p.controlnet_input_image'
- simple png sequence alpha output
- STEP 8
- cant use face crop? pls help HOT 1
- Step 7 Can't export video with sound HOT 1
- 在kaggle安装了ebsynth_utility插件可是controlnet v1.1.48里面的脚本设置没有ebsynth_utility是怎么回事?求大佬求解
- drive.google.com timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ebsynth_utility.