diff --git a/README.md b/README.md index 12392be..fbe0a33 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Installation -``` +```bash pip install dlib-XX.XX.X-cpXX-cpXX-win_amd64.whl ``` @@ -14,13 +14,13 @@ The `XX` depends on your situation. Open file `C:\Users\XXX\AppData\Local\Programs\Python\PythonXX\Lib\site-packages\dlib\_init_.py`. -The `XXX` depends on your situation. +The `XXX` depends on your situation or the whole filepath may be totally different based on your installation configuration. ### With CUDA If you use CUDA, configure the code: -``` +```python if "ON" == "ON": add_lib_to_dll_path( "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/vXX.X/lib/x64/cudnn.lib" @@ -30,13 +30,13 @@ if "ON" == "ON": ) ``` -The `XX.X` depends on your situation. +The `XX.X` depends on your situation or the whole filepath may be totally different based on your installation configuration. ### Without CUDA -If you don't use CUDA, delete the code: +If you do not use CUDA, delete the code: -``` +```python if "ON" == "ON": add_lib_to_dll_path( "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/vXX.X/lib/x64/cudnn.lib" @@ -45,3 +45,26 @@ if "ON" == "ON": "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/vXX.X/lib/x64/cudart.lib" ) ``` + +Probably. I have not tried it. + +--- + +## Verification + +```python +import dlib + +print(dlib.DLIB_USE_CUDA) +print(dlib.cuda.get_num_devices()) +``` + +--- + +## Warnning + +It is a matter of luck whether the `.whl` file works on your computer. + +If the `.whl` file smooth your installation, you could send a e-mail of gratitude to me. This is enough to delight me not less than a day. + +If it does not work, I highly recommend you to download the source code and install by yourself. Besides, you could also send a e-mail full of swear words or other trash to me. diff --git a/dlib-19.24.0-cp37-cp37m-win_amd64.whl b/dlib-19.24.0-cp37-cp37m-win_amd64.whl deleted file mode 100644 index ab33ab6..0000000 Binary files a/dlib-19.24.0-cp37-cp37m-win_amd64.whl and /dev/null differ diff --git a/dlib-19.24.0-cp38-cp38-win_amd64.whl b/dlib-19.24.0-cp38-cp38-win_amd64.whl deleted file mode 100644 index 5924dc5..0000000 Binary files a/dlib-19.24.0-cp38-cp38-win_amd64.whl and /dev/null differ diff --git a/dlib-19.24.0-cp39-cp39-win_amd64.whl b/dlib-19.24.0-cp39-cp39-win_amd64.whl deleted file mode 100644 index 8a1ddae..0000000 Binary files a/dlib-19.24.0-cp39-cp39-win_amd64.whl and /dev/null differ diff --git a/dlib-19.24.1-cp310-cp310-win_amd64.whl b/dlib-19.24.1-cp310-cp310-win_amd64.whl new file mode 100644 index 0000000..773e0d8 Binary files /dev/null and b/dlib-19.24.1-cp310-cp310-win_amd64.whl differ diff --git a/dlib-19.24.1-cp311-cp311-win_amd64.whl b/dlib-19.24.1-cp311-cp311-win_amd64.whl new file mode 100644 index 0000000..f18e1e7 Binary files /dev/null and b/dlib-19.24.1-cp311-cp311-win_amd64.whl differ diff --git a/dlib-19.24.1-cp37-cp37m-win_amd64.whl b/dlib-19.24.1-cp37-cp37m-win_amd64.whl new file mode 100644 index 0000000..aaa0770 Binary files /dev/null and b/dlib-19.24.1-cp37-cp37m-win_amd64.whl differ diff --git a/dlib-19.24.1-cp38-cp38-win_amd64.whl b/dlib-19.24.1-cp38-cp38-win_amd64.whl new file mode 100644 index 0000000..bc97ebd Binary files /dev/null and b/dlib-19.24.1-cp38-cp38-win_amd64.whl differ diff --git a/dlib-19.24.1-cp39-cp39-win_amd64.whl b/dlib-19.24.1-cp39-cp39-win_amd64.whl new file mode 100644 index 0000000..5caff98 Binary files /dev/null and b/dlib-19.24.1-cp39-cp39-win_amd64.whl differ