You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ Created by: GitHub community.
32
32
-[Mac](#mac)
33
33
-[Windows](#windows)
34
34
-[Remote GPU](#remote-gpu)
35
+
-[Docker](#docker)
35
36
-[Setup avatars](#setup-avatars)
36
37
-[Run](#run)
37
38
-[Linux](#linux-1)
@@ -87,6 +88,7 @@ bash scripts/install.sh
87
88
```
88
89
3.[Download network weights](#download-network-weights) and place `vox-adv-cpk.pth.tar` file in the `avatarify` directory (don't unpack it).
89
90
91
+
90
92
#### Mac
91
93
*(!) Note*: we found out that in versions after [v4.6.8 (March 23, 2020)](https://zoom.us/client/4.6.19178.0323/ZoomInstaller.pkg) Zoom disabled support for virtual cameras on Mac. To use Avatarify in Zoom you can choose from 2 options:
92
94
- Install [Zoom v4.6.8](https://zoom.us/client/4.6.19178.0323/ZoomInstaller.pkg) which is the last version that supports virtual cameras
@@ -137,8 +139,23 @@ The steps 10-11 are required only once during setup.
137
139
138
140
#### Remote GPU
139
141
140
-
You can offload the heavy work to [Google Colab](https://colab.research.google.com/github/alievk/avatarify/blob/master/avatarify.ipynb) or a [server with a GPU](https://github.com/alievk/avatarify/wiki/Remote-GPU) and use your laptop just to communicate the video stream.
142
+
You can offload the heavy work to [Google Colab](https://colab.research.google.com/github/alievk/avatarify/blob/master/avatarify.ipynb) or a [server with a GPU](https://github.com/alievk/avatarify/wiki/Remote-GPU) and use your laptop just to communicate the video stream. The server and client software are native and dockerized available.
143
+
144
+
### Docker
145
+
Docker images are only availabe on Linux.
141
146
147
+
1. Install Docker following the [Documentation](https://docs.docker.com/engine/install/). Then run this [step](https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user) to make docker available for your user.
148
+
2. For using the gpu (hardly recommended): Install nvidia drivers and [nvidia docker](https://github.com/NVIDIA/nvidia-docker#quickstart).
149
+
3. Clone `avatarify` and install its dependencies (v4l2loopback kernel module):
150
+
```bash
151
+
git clone https://github.com/alievk/avatarify.git
152
+
cd avatarify
153
+
bash scripts/install_docker.sh
154
+
```
155
+
4. Build the Dockerfile:
156
+
```bash
157
+
docker build -t avatarify
158
+
```
142
159
## Setup avatars
143
160
Avatarify comes with a standard set of avatars of famous people, but you can extend this set simply copying your avatars into `avatars` folder.
144
161
@@ -162,6 +179,7 @@ Run:
162
179
```bash
163
180
bash run.sh
164
181
```
182
+
If you haven't installed a GPU add the `--no-gpus` flag. In order to use Docker add the `--docker` flag.
165
183
166
184
`cam` and `avatarify` windows will pop-up. The `cam` window is for controlling your face position and `avatarify` is for the avatar animation preview. Please follow these [recommendations](#driving-your-avatar) to drive your avatars.
0 commit comments