Update README.md
Browse files
README.md
CHANGED
@@ -149,13 +149,14 @@ set each field and click "Agree and access repository"
|
|
149 |
|
150 |
# MACOS Users
|
151 |
|
152 |
-
1. Install python 3.9
|
153 |
```
|
154 |
brew update
|
155 |
brew install python@3.9
|
156 |
brew install ffmpeg
|
157 |
brew install git-lfs
|
158 |
git-lfs install
|
|
|
159 |
```
|
160 |
2. Unzip Wav2lipStudio zip achive in a folder
|
161 |
|
@@ -179,8 +180,13 @@ set each field and click "Agree and access repository"
|
|
179 |
./venv/bin/python3.9 -m pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2
|
180 |
./venv/bin/python3.9 -m pip install transformers==4.33.2
|
181 |
./venv/bin/python3.9 -m pip install numpy==1.24.4
|
|
|
|
|
182 |
```
|
183 |
-
|
|
|
|
|
|
|
184 |
5. Install models
|
185 |
```
|
186 |
git clone https://huggingface.co/numz/wav2lip_studio-0.2 models
|
|
|
149 |
|
150 |
# MACOS Users
|
151 |
|
152 |
+
1. Install python 3.9 and other requirements
|
153 |
```
|
154 |
brew update
|
155 |
brew install python@3.9
|
156 |
brew install ffmpeg
|
157 |
brew install git-lfs
|
158 |
git-lfs install
|
159 |
+
xcode-select --install
|
160 |
```
|
161 |
2. Unzip Wav2lipStudio zip achive in a folder
|
162 |
|
|
|
180 |
./venv/bin/python3.9 -m pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2
|
181 |
./venv/bin/python3.9 -m pip install transformers==4.33.2
|
182 |
./venv/bin/python3.9 -m pip install numpy==1.24.4
|
183 |
+
```
|
184 |
+
4.1. for silicon
|
185 |
```
|
186 |
+
./venv/bin/python3.9 -m pip uninstall torch torchvision torchaudio
|
187 |
+
./venv/bin/python3.9 -m pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
|
188 |
+
sed -i '' 's/from torchvision.transforms.functional_tensor import rgb_to_grayscale/from torchvision.transforms.functional import rgb_to_grayscale/' venv/lib/python3.9/site-packages/basicsr/data/degradations.py
|
189 |
+
```
|
190 |
5. Install models
|
191 |
```
|
192 |
git clone https://huggingface.co/numz/wav2lip_studio-0.2 models
|