From e67ee1d3886ad2dce56b59a860233dada5099609 Mon Sep 17 00:00:00 2001 From: remi <remi.cresson@irstea.fr> Date: Tue, 29 Oct 2019 10:46:49 +0100 Subject: [PATCH] ENH: fix bug with nodata --- include/otbTensorflowSampler.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/include/otbTensorflowSampler.hxx b/include/otbTensorflowSampler.hxx index 4b2d8c7..4b5dbcc 100644 --- a/include/otbTensorflowSampler.hxx +++ b/include/otbTensorflowSampler.hxx @@ -201,6 +201,7 @@ TensorflowSampler<TInputImage, TVectorData> if (pix[i] == m_NodataValue) { hasBeenSampled = false; + std::cout << "REJECT!" << std::endl; break; } if (!hasBeenSampled) -- GitLab