Re:Dlib: Modern C++/Python Toolkit for Machine Learning
by posharma on Monday July 26, 2021 @04:40AM
(#27957124)
How does this compare to other toolkits?
[ Parent
| on HN ]
Re:Dlib: Modern C++/Python Toolkit for Machine Learning
by krona on Monday July 26, 2021 @04:53AM
(#27957188)
Although there is a Python frontend, Dlib is really a C++-first toolkit that can be easily integrated in to other C++ applications.
The examples are thoroughly documented, and the code itself has been a great pedagogical tool for me and others I work with. Basically, it's simple and well written.
Re:Dlib: Modern C++/Python Toolkit for Machine Learning
by thundergolfer on Monday July 26, 2021 @09:04AM
(#27958859)
Last time I used it, the Python package isn't shipped as a wheel, so you have to compile dlib from source using CMake on install. Makes it harder to use for Python devs.
Re:Dlib: Modern C++/Python Toolkit for Machine Learning
by woko on Monday July 26, 2021 @11:46AM
(#27960880)
That is correct. When one runs `pip install dlib`, only a .tar.gz file is retrieved. Then the building process takes a long while!
> Collecting dlib
> Downloading dlib-19.22.0.tar.gz (7.4 MB)
> || 7.4 MB 14.7 MB/s
> Building wheels for collected packages: dlib
I had not noticed before because I have only used dlib on Google Colaboratory, where it is thankfully pre-installed.
Re:Dlib: Modern C++/Python Toolkit for Machine Learning
by conjectures on Monday July 26, 2021 @06:17AM
(#27957705)
Nice to know there's a python wrapper, might make it easier to mock up / do initial validation before heading into the long grass.