Adrià Arrufat
170877da88
add loss_mean_squared_per_channel ( #1863 )
...
add loss_mean_squared_per_channel_and_pixel
2019-08-28 07:25:08 -04:00
Mischan Toosarani-Hausberger
efd4e27488
dpoint mutates x-coord in y-property (see #1794 ) ( #1866 )
2019-08-24 11:13:00 -04:00
Thomas Peters
a81fd0c651
don't cast away constness ( #1865 )
2019-08-23 14:00:24 -04:00
Davis King
e8d2407611
Simplified the device_global_buffer() code and API.
2019-08-17 11:27:48 -04:00
Juha Reunanen
d7fb51e60b
Fix #1849 by calling device_global_buffer() unconditionally ( #1862 )
...
* Hold on to the CUDA buffer - second try
see: https://github.com/davisking/dlib/pull/1855#discussion_r314666348
* Fix #1849 by calling device_global_buffer() unconditionally
2019-08-17 11:01:00 -04:00
guydavid
b02be8c734
Const-correct a LAPACK declaration and add aarch64 as a 64-bit architecture ( #1859 )
...
* Added aarch64 to list of 64-bit architechtures
* Const-corrected declaration of ssyevr
2019-08-14 19:29:04 -04:00
notoriousPig
7e70a92765
pybind11: cmake: ignore the check between host-python and cross-compiler ( #1848 )
...
When dlib is compiling, cmake will compare python architecture and target
architecture. So in cross-compiling case, it is irrevelant because host and
target architecture often differs. The main problem come from checking python
architecture on host and not on target.
Here is an error when compiling dlib from x86_64 to arm 32-bit target :
```
Python config failure: Python is 64-bit, chosen compiler is 32-bit
```
So :
- Skipping the comparation when cross-compiling is enabled.
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Alexandre PAYEN <alexandre.payen@smile.fr>
2019-07-29 06:57:50 -04:00
Davis King
05cbfc6d64
Fix the CMake BUILDING_PYTHON_IN_MSVC variable not getting picked up where it should.
2019-07-27 09:42:36 -04:00
Davis King
fced3587f1
fixing grammar
2019-07-27 09:03:14 -04:00
Davis King
48b9bf3f93
Fixed cmake warning
2019-07-19 07:12:27 -04:00
Paul Dreik
8a2963d758
fix mismatch between documentation and implementation ( #1835 )
2019-07-19 06:38:56 -04:00
Davis King
2704f3e26d
fixed typo in docs
2019-07-12 07:30:18 -04:00
Davis King
6dec9abffe
Added missing include
2019-07-05 11:46:32 -04:00
Davis King
f15e4e58d6
Fixed grammar in comments
2019-07-04 13:54:35 -04:00
Davis King
aee97d9d1d
Fixed incorrect return type
2019-06-25 21:33:31 -04:00
Davis King
e2293e5cd1
Push all include and link options needed for dlib to pkg-config. We do this by getting them from the same list cmake uses.
2019-06-09 10:36:15 -04:00
mchelem
5d64de24b3
Fix setting a point's y coordinate changes x instead (Python bindings) ( #1795 )
...
* Add point assignment test
* Fix setting points y coordinate changes x instead (issue #1794 )
2019-06-08 06:08:45 -04:00
Davis King
22402e99a0
Revert "Fixed pytest broken dependencies"
...
Apparently pytest is still sort of busted.
This reverts commit 5e63d01544
.
2019-06-02 09:36:16 -04:00
Davis King
e0a24e39f2
Fix python setup warnings
2019-06-02 08:40:33 -04:00
Davis King
5e63d01544
Fixed pytest broken dependencies
2019-06-02 08:00:50 -04:00
Davis King
6de82e2417
Added methods for getting keyboard and mouse clicks to image_window's pyhton API.
2019-06-01 09:29:43 -07:00
Facundo Galán
8001b924e6
Add input_grayscale_image_pyramid, issue #354 ( #1761 )
...
Add input_grayscale_image_pyramid
2019-05-25 17:18:01 -04:00
Davis King
0ecb49b94e
Merge branch 'VirgileD-fix/jpeg'
2019-05-20 19:16:08 -04:00
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