-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVtuber_Unity.txt
More file actions
65 lines (43 loc) · 1.92 KB
/
Copy pathVtuber_Unity.txt
File metadata and controls
65 lines (43 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Requirements : Nvidia GPU card & and Cuda tool kit install
# I am using this card : https://amzn.to/3mTa7HX
# Working Anaconda enviroment
# Git hub link
https://github.com/kwea123/VTuber_Unity
==============================
build the Python enviroment
=============================
conda create -n vtuber python=3.6
conda activate vtuber
Install Pytorch
https://pytorch.org/
====================
# how to find my Cuda version
nvcc --version
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c conda-forge
# download the github repository
git clone https://github.com/kwea123/VTuber_Unity.git
cd VTuber_Unity
pip install -r requirements_cpu.txt
Install DLIB
============
https://github.com/kwea123/VTuber_Unity/wiki/Dlib-installation-on-Windows
Install camke from here : https://cmake.org/download/
* First make sure Visual Studio (>2015) is installed and updated to the latest version.
* Try pip install dlib. If it fails, do the next step.
* Go to some directory and do git clone https://github.com/davisking/dlib.git.
* cd dlib and mkdir build and cd build.
* cmake .. -G "Visual Studio 16 2019" -T host=x64. Replace the year with your Visual Studio year.
* After the build complete (assuming no errors), mkdir lib.win-amd64-3.6 inside the build folder.
* cd .. then python setup.py install.
* Dlib should be successfully installed.
--------------------------------------------------------------------------
git clone https://github.com/kwea123/VTuber_Unity.git
cd VTuber_Unity
download the model.zip from this link: https://github.com/kwea123/VTuber_Unity/releases/tag/v1.0
You need to download the models here, extract and put into face_alignment/ckpts.
Test the install using the camera
=================================
python demo.py --debug --cpu
# connect to character
#download the character from this link : https://github.com/kwea123/VTuber_Unity/releases/tag/v1.0
python demo.py --connect --debug --cpu