-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Remover.__init__() got an unexpected keyword argument 'fast' #121
Comments
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 The update process fails because The result of all of this is that 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 |
I haven't tried it, but can you install it with this? |
Yes, I can "forcibly" install The issue is that Automatic's venv still does not install Perhaps, in this extension's |
|
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.
|
…age dependencies
closes #121 regarding dependency installations on M1/M2 Macs
I'm getting the following error when generating stage 1. This issue could be related to the fact that I'm on a Apple Silicon machine. Could also be that the
fast
argument has been deprecated in the most recent (Sep. 25th) commit oftransparent_background
module. Instead,Remover
object initiation should pass the requiredmode
argument.TypeError: Remover.__init__() got an unexpected keyword argument 'fast'
After generating, I only get image frames in the video_frame folder, while the video_mask folder remains empty.
The problem is related to the
create_mask_transparent_background
functionstage1.py
struggling to initiate theRemover
object in line 151.remover = Remover(fast=tb_use_fast_mode, jit=tb_use_jit, device=devices.get_optimal_device_name())
The text was updated successfully, but these errors were encountered: