Commit Graph

7672 Commits

Author SHA1 Message Date
Davis King 8746c9d371 Stop building parts of libjpeg we don't need. 2019-05-20 19:14:50 -04:00
Davis King 572302d4d4 Disable use of non-memory based backing store in libjpeg. This fixes
libjpeg not being able to open some types of jpeg file.
2019-05-20 19:03:44 -04:00
VirgileD a40a5c6e1a Adds a comprehensive error message when jpeg loading fails. 2019-05-20 16:47:08 +02:00
virgile devaux dedb7358ba Feature/upgrade libjpeg (#1769)
* Upgrades dlib's included libjpeg to version 8d

* Overloads load_jpeg to read from memory buffer

* Removes "__inline__" define in jconfig, broke VC build

* Changes buffer size type to size_t
2019-05-17 06:03:01 -04:00
virgile devaux f0e1d4e471 iEnsures DLIB_FALLTHROUGH macro is only set for GCC>=7 (#1770) 2019-05-16 20:37:11 -04:00
Adrià Arrufat f584e787b1 Even more warning silencing (#1766)
These warnings occurred when building the semantic segmentation
examples
2019-05-16 06:07:52 -04:00
Adrià Arrufat f3f1a826da more pedantic silencing (#1763)
* prevent GCC from complaining about this unused parameter
2019-05-14 08:56:21 -04:00
Adrià Arrufat dbe569a1f1 fix some pedantic warnings (#1756)
* fix some pedantic warnings

* remove unneeded assert
2019-05-05 12:07:51 -04:00
Davis King 3ce7177a17 Make things work in visual studio. 2019-05-04 20:36:42 -04:00
Davis King 1fd054baae Suppress compiler warnings 2019-05-04 19:47:30 -04:00
Davis King 5623810b01 Fixed global_function_search's initialization being wrong if explicitly
given an empty list of initial function evaluations.
2019-04-27 08:18:19 -04:00
Davis King 67d22c48ab disable annoying warning 2019-04-26 07:43:02 -04:00
Edoardo Morandi a0d492ae1c Fixed constness for lapack functions (#1737) 2019-04-26 07:33:35 -04:00
Davis King 879202b796 Fixed build error in newer clang on OpenBSD. 2019-04-19 07:51:03 -04:00
Davis King d9af22e536 Merge branch 'master' of https://github.com/davisking/dlib 2019-04-14 13:19:44 -04:00
Davis King e1df1968b3 Include the Intel MKL's iomp dll in the output folder to reduce confusino for windows users. 2019-04-14 13:19:00 -04:00
Davis King 2dd970a1fb Fixed compiler warnings 2019-04-14 11:19:06 -04:00
Juha Reunanen ccd8b64f1b Semantic-segmentation loss calculation: fix buffer usage on multi-GPU training (#1717)
* Semantic-segmentation loss calculation: fix buffer usage on multi-GPU training

* Review fix: make the work buffer live longer
2019-04-07 14:27:03 -04:00
Davis King 9433bfd6ab Switched to non-deprecated way to say destructor might throw. 2019-04-03 22:48:29 -04:00
Facundo Galán 64ad6b2591 Change CUDA version check for cudaSync from 10000 to 10010 (#1704) 2019-03-27 20:41:46 -04:00
Davis King ae406bf4c1 Make dlib.full_object_detection take list of dlib.point or dlib.points. 2019-03-19 08:13:49 -04:00
Davis King b4e7e2e7d7 fix travis-ci 2019-03-18 22:32:50 -04:00
Davis King 7e88c5f453 Don't run python tests on travis. 2019-03-18 21:39:22 -04:00
Davis King a0dc35edb0 updated python docs 2019-03-18 21:38:45 -04:00
Davis King a4fbe356e3 Try some os x tests on travis again. 2019-03-18 21:30:27 -04:00
Davis King 76a65c77b5 Added option to give --no_ to exclude a unit test from --runall. 2019-03-18 21:16:59 -04:00
Davis King eb686ec79c Disable os x python testing for now on travis since something is wrong with the travis config. 2019-03-18 09:25:06 -04:00
Davis King d372fba298 try testing python on osx on travis 2019-03-18 08:09:32 -04:00
Davis King b8324f5a3f Try to make bash script work for os x. 2019-03-17 22:18:57 -04:00
Davis King e3f67173ff Try turning on OS X testing on travis. 2019-03-17 21:34:54 -04:00
Davis King cc0cbc0248 Fixed typo in travis build script. 2019-03-17 21:33:28 -04:00
Davis King 3401b96936 It's actually fine to call rowm() or colm() with an empty index set. 2019-03-17 21:30:49 -04:00
Davis King ec63baa7a2 Have travis build some tests with DLIB_ASSERT enabled to make sure they work. 2019-03-17 21:15:08 -04:00
Davis King f8827f6bb3 Make test deterministic 2019-03-17 09:06:09 -04:00
Davis King 89fb5c2e31 cleanup 2019-03-15 08:46:03 -04:00
Davis King 4e4acf794f Make CMake build a test program to see if libjpeg is really available and not broken. 2019-03-15 08:44:49 -04:00
Davis King 7611b34768 Set png include paths for test. 2019-03-15 08:28:12 -04:00
Davis King 0cf422d42a Have CMake build a little test program to see if the system copy of libpng really works. 2019-03-15 08:23:36 -04:00
Davis King 0268e27481 updated docs 2019-03-14 07:59:22 -04:00
Davis King e72d5c71f1 Exlude unneeded files from python source distributions. 2019-03-10 11:46:44 -04:00
Davis King 1682c83e85 Removed old mercurial ignore file. 2019-03-10 11:36:54 -04:00
Davis King 579a41d523 Record last changeset and set PATCH version to 99 2019-03-10 11:09:53 -04:00
Davis King 810ef7937d Created release v19.17 2019-03-10 11:04:56 -04:00
Davis King 590a9a11b1 updated docs 2019-03-10 11:01:50 -04:00
Davis King 55d5750286 updated docs 2019-03-10 10:48:53 -04:00
Davis King 533e7a3740 updated release notes 2019-03-10 10:23:50 -04:00
Davis King ffce4af6e2 Make cusolver finding work for really old versions of cmake with CUDA 10.1 2019-03-10 10:02:29 -04:00
Davis King 5faf8ccce3 Automatically test for NEON instructions when building python extensions and enable them if available.
Forgot about --yes USE_NEON_INSTRUCTIONS when removing --yes a moment
ago.  It's on by default now so now --yes really is unneeded.  The dlib
policy on this kind of thing going forward is to always have a cmake
script that tests if a feature like this is available and to enable it
automatically when building python extensions.
2019-03-08 08:05:11 -05:00
Davis King b892df8232 Removed --yes option from setup.py since it has long been a noop and its presence just confuses users. 2019-03-08 07:51:33 -05:00
Davis King 83385e2356 Added more dianostic messages from cmake. 2019-03-08 07:35:45 -05:00