Design by Tony Ngô
Explore full source code »
View Demo
·
Report Bug
·
Request Feature
To run these code please do the following steps
This is an example of how to list things you need to use the software and how to install them.
- All dependences
pip install cmake pip install flask pip install face_recognition pip install tensorflow-gpu pip install opencv-contrib-python
-
Download CudaToolkit and CudaDNN from NVDIA or this link
https://drive.google.com/drive/folders/1AruLdIXXJFrG7BkDT2-T_clontU7em1f?usp=sharing
-
Install CudaToolkit
-
Copy all of files in bin, include, lib FOLDERS from ..\cudnn-11.4-windows-x64-v8.2.2.26\cuda to corresponding FOLDERS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4
-
Copy below codes to terminal and run to build DLIB with CUDA
git clone https://github.com/davisking/dlib.git cd dlib mkdir build cd build cmake .. -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 cmake --build . cd .. python setup.py install
-
Check by these code
python import dlib dlib.DLIB_USE_CUDA
If the result returns "True" that you have successfully installed and built Dlib with CUDA. But it's print "False" you need to check above logs to find the errors, may be you copy cuDNN files not enough
Exactly how to use every codes I wrote it in file Readme.md of their folder, so let's check inside folders
For more examples, please refer to the Documentation
It contains in source code folders in above link Documentation
You can pull requests and emails me for development
All of code is copied from lots of source in Github and Internet to remaster and optimized. This makes it will not be owned by any persons! Contact Author - Tony
for more information.
Your Name - @thinhngotony - email - [email protected]
More projects Link: https://github.com/thinhngotony