Commit 8fb7f029 authored by Cresson Remi's avatar Cresson Remi
Browse files

ENH: fix bug with nodata

parent 7ebf783d
......@@ -200,6 +200,7 @@ TensorflowSampler<TInputImage, TVectorData>
for (unsigned int band; band < pix.Size(); band++)
if (pix[band] == m_NodataValue)
{
std::cout << band << std::endl;
hasBeenSampled = false;
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment