일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- error
- 딥러닝
- dlib
- windows
- colaboratory
- Windows 10
- Deep Learning
- colab
- python
- pyTorch
- dataset
- python3
- ppc64le
- shakeratos
- FIle
- gpu memory
- keras
- download
- TensorFlow
- Jupyter notebook
- raspberry pi
- urllib
- CUDA
- face_recognition
- linux
- Anaconda
- ubuntu
- YouTube 8M
- object detection
- install
- Today
- Total
Shakerato
Install face_recognition and dlib on Windows 10 본문
1. Anaconda3 Install
2. Create a envorinment <env> with python3.6
3. Install Microsoft Visual Studio 2017 or Upgrade
(C++ packages includes c++/CLI must be installed for CMake)
(because CMake needs c++11 compiler)
4. Update Visual Sutudio 2017
5. Reboot the Computer
6. Download CMake (https://cmake.org/download/) and Install it
7. Activate specific <env> of Anaconda3 in the 'cmd'
8. pip3 install face_recognition
* face_recognition and dlib are not fully installed in specific <env>, but default anaconda env.
* so you should to copy from
c:\programdata\anaconda3\scripts\face_detection.exe
c:\programdata\anaconda3\scripts\face_recognition.exe
to <env>\scripts\
and
c:\programdata\anaconda3\lib\site-packages\dlib-19.15.0.dist-info\*
c:\programdata\anaconda3\lib\site-packages\dlib.cp36-win_amd64.pyd
to <env>\Lib\site-package\
9. Finally, run the code below for test
/////////////////////////
How to use GPU (Cuda) for DLib
1. Download dlib-XX.XX.zip in the dlib site (http://dlib.net/)
2. Activate <env> in 'cmd' as administrator
3. python setup.py install --yes USE_AVX_INSTRUCTIONS --yes DLIB_USE_CUDA
if not working, try below
python setup.py install --yes USE_AVX_INSTRUCTIONS --clean
'Research' 카테고리의 다른 글
jupyter notebook setup: an anaconda environment as a kernel (0) | 2018.07.26 |
---|---|
유튜브 다크모드(테마) 변경 (0) | 2018.07.24 |
spaCy, Natural Language Processing library (0) | 2018.07.01 |
docker 기본 명령어 (0) | 2018.07.01 |
Text to speech(tts) in linux (with python code) (0) | 2018.06.30 |