macOS (Apple Silicon) Install Guide
macOS now has an installer which sets everything up for you, but if you run into difficulties and need to set things up manually, the steps are as follows:
Prerequisites
OS
macOS 12.0+
XCode Tools
xcode-select --install
XQuartz
Download and install from:
Conda
Download and install the latest Conda env from:
Install Conda:
$ chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
$ sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
$ source ~/miniforge3/bin/activate
Setup
Create and Activate the Environment
$ conda create --name faceswap python=3.10
$ conda activate faceswap
faceswap
- Download the faceswap repo and enter the faceswap folder:
$ git clone --depth 1 https://github.com/deepfakes/faceswap.git
$ cd faceswap
Easy install
$ python setup.py
Run the project
Once all these requirements are installed, you can attempt to run the faceswap tools. Use the -h or --help options for a list of options.
python faceswap.py -h
or run with gui to launch the GUI
python faceswap.py gui
Proceed to ../blob/master/USAGE.md
'코드와 오류 기록' 카테고리의 다른 글
SD roop 설정 (0) | 2023.08.10 |
---|---|
SD pip install 수동으로 해주기 (0) | 2023.08.10 |
한글 2014 for mac 터미널에서 다운받기 (0) | 2022.12.10 |
[ERROR] Illegal mix of collations (...) and (...) for operation '=' (1) | 2022.11.04 |
R extrafont로도 한글 깨짐 해결되지 않을 때 (0) | 2022.10.31 |