From 960e8a014fce4e8c761d512c213187fc152ab7b9 Mon Sep 17 00:00:00 2001 From: Jakub Mareda Date: Wed, 15 Sep 2021 14:27:24 +0200 Subject: [PATCH] Missing include for `dlib::loss_multiclass_log_per_pixel_` (#2432) * Missing include for `dlib::loss_multiclass_log_per_pixel_::label_to_ignore` I was trying to compile the examples and encountered this issue after moving `rgb_label_image_to_index_label_image` to cpp file. Headers should include all symbols they mention. * Update pascal_voc_2012.h Should use the official entrypoint for including dnn stuff. Co-authored-by: Davis E. King --- examples/pascal_voc_2012.h | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/pascal_voc_2012.h b/examples/pascal_voc_2012.h index ad348c6df..745674f63 100644 --- a/examples/pascal_voc_2012.h +++ b/examples/pascal_voc_2012.h @@ -7,6 +7,7 @@ #define PASCAL_VOC_2012_H_ #include +#include // ----------------------------------------------------------------------------------------