Closed smwbev closed 1 month ago
Is homebrew up-to-date?
Mine seems to be installed somewhere different
Using Python from /opt/homebrew/Caskroom/miniconda/base/envs/deep-live-cam/bin/python: Python 3.10.14
This is the Apple Silicon location for casks and seems you are running Apple Silicon. Maybe try re-installing homebrew?
Can you try the latest version - I've added a check for both the Intel + Apple Silicon locations so shouldn't matter which location you are attempting to run the caskroom from
Is homebrew up-to-date?
Mine seems to be installed somewhere different
Using Python from /opt/homebrew/Caskroom/miniconda/base/envs/deep-live-cam/bin/python: Python 3.10.14
This is the Apple Silicon location for casks and seems you are running Apple Silicon. Maybe try re-installing homebrew?
Yes. HB latest version
same problem (
> Can you try the latest version - I've added a check for both the Intel + Apple Silicon locations so shouldn't matter which location you are attempting to run the caskroom from
(base) xxx@MacBook-Pro-xxx-5 Deep-Live-Cam-Mac-Installer % ./deep_live_cam.sh
Using Conda from Intel Silicon installation at /usr/local/Caskroom/miniconda/base/bin
Apple Silicon (arm64) detected.
Xcode Command Line Tools are already installed.
Homebrew is already installed.
Conda environment 'deep-live-cam' already has the correct Python version (3.10).
CondaError: Run 'conda init' before 'conda activate'
Using Python from /usr/local/Caskroom/miniconda/base/envs/deep-live-cam/bin/python: Python 3.10.14
Using pip from /usr/local/Caskroom/miniconda/base/envs/deep-live-cam/bin/pip: pip 24.2 from /usr/local/Caskroom/miniconda/base/envs/deep-live-cam/lib/python3.10/site-packages/pip (python 3.10)
Cloning the Deep-Live-Cam repository...
Cloning into 'Deep-Live-Cam'...
remote: Enumerating objects: 271, done.
remote: Counting objects: 100% (129/129), done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 271 (delta 98), reused 79 (delta 63), pack-reused 142 (from 1)
Receiving objects: 100% (271/271), 48.39 MiB | 6.00 MiB/s, done.
Resolving deltas: 100% (137/137), done.
Downloading Deep-Live-Cam/models/GFPGANv1.4.pth...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1127 100 1127 0 0 1387 0 --:--:-- --:--:-- --:--:-- 1386
100 332M 100 332M 0 0 5002k 0 0:01:08 0:01:08 --:--:-- 7681k
Downloading Deep-Live-Cam/models/inswapper_128_fp16.onnx...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1159 100 1159 0 0 1428 0 --:--:-- --:--:-- --:--:-- 1427
100 264M 100 264M 0 0 4855k 0 0:00:55 0:00:55 --:--:-- 5285k
Installing CoreML dependencies for Apple Silicon...
Requirement already satisfied: pip in /usr/local/Caskroom/miniconda/base/envs/deep-live-cam/lib/python3.10/site-packages (24.2)
WARNING: Skipping onnxruntime-silicon as it is not installed.
ERROR: Could not find a version that satisfies the requirement onnxruntime-silicon==1.13.1 (from versions: none)
ERROR: No matching distribution found for onnxruntime-silicon==1.13.1
ERROR: Could not find a compatible version of onnxruntime-silicon. Check your Python environment and ensure it supports this package.
Is homebrew up-to-date?
Mine seems to be installed somewhere different
Using Python from /opt/homebrew/Caskroom/miniconda/base/envs/deep-live-cam/bin/python: Python 3.10.14
This is the Apple Silicon location for casks and seems you are running Apple Silicon. Maybe try re-installing homebrew?
Completely reinstalled the HB, but the problem wasn’t resolved. However, during the installation process, new errors appeared.
xxx@MacBook-Pro-xxx-5 Deep-Live-Cam-Mac-Installer % ./deep_live_cam.sh
Apple Silicon (arm64) detected.
Xcode Command Line Tools are already installed.
Homebrew is already installed.
Conda is not installed. Installing Miniconda via Homebrew...
==> Caveats
Please run the following to setup your shell:
conda init "$(basename "${SHELL}")"
Alternatively, manually add the following to your shell init:
eval "$(conda "shell.$(basename "${SHELL}")" hook)"
==> Downloading https://repo.anaconda.com/miniconda/Miniconda3-py312_24.5.0-0-MacOSX-arm64.sh
############################################################################################################################################################################################################################################## 100.0%
==> Installing Cask miniconda
==> Running installer script 'Miniconda3-py312_24.5.0-0-MacOSX-arm64.sh'
PREFIX=/opt/homebrew/Caskroom/miniconda/base
Unpacking payload ...
Installing base environment...
Preparing transaction: ...working... done
Executing transaction: ...working...
done
installation finished.
==> Linking Binary 'conda' to '/opt/homebrew/bin/conda'
🍺 miniconda was successfully installed!
Miniconda installed successfully.
no change /opt/homebrew/Caskroom/miniconda/base/condabin/conda
no change /opt/homebrew/Caskroom/miniconda/base/bin/conda
no change /opt/homebrew/Caskroom/miniconda/base/bin/conda-env
no change /opt/homebrew/Caskroom/miniconda/base/bin/activate
no change /opt/homebrew/Caskroom/miniconda/base/bin/deactivate
no change /opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh
no change /opt/homebrew/Caskroom/miniconda/base/etc/fish/conf.d/conda.fish
no change /opt/homebrew/Caskroom/miniconda/base/shell/condabin/Conda.psm1
modified /opt/homebrew/Caskroom/miniconda/base/shell/condabin/conda-hook.ps1
no change /opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/xontrib/conda.xsh
no change /opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.csh
modified /Users/owl_dv/.bash_profile
modified /Users/owl_dv/.zshrc
modified /Users/owl_dv/.config/fish/config.fish
modified /Users/owl_dv/.xonshrc
modified /Users/owl_dv/.tcshrc
==> For changes to take effect, close and re-open your current shell. <==
create_or_update_conda_env:1: no such file or directory: /conda
Creating Conda environment 'deep-live-cam' with Python 3.10...
create_or_update_conda_env:17: no such file or directory: /conda
Failed to create Conda environment with Python 3.10.
xxx@MacBook-Pro-xxx-5 Deep-Live-Cam-Mac-Installer %
I restarted the terminal and tried again. Everything installed successfully. Looks like the fix worked.
I restarted the terminal and tried again. Everything installed successfully. Looks like the fix worked. But it’s very strange that it’s lagging so much with these specs.
Glad it worked. Yes, performance is horrible. It looks like an underlying library that's the problem as it doesn't properly support CoreML. I guess it needs someone with the appropriate skill / tenacity to dig in to improve the library. There's a few workarounds on other threads, but I'm reluctant to include them as (for me) they seem to improve framerate but the face replacement can't keep up so you end up seeing your own face most of the time. It's a bit disappointing tbh. Still, at least this helps people get to that disappointment with less effort!
Apple M2 Max Sanoma 14.4
try again
last try