Commit d2972f99 authored by Cresson Remi's avatar Cresson Remi
Browse files

ENH: fix bug with nodata

parent e6b9428f
...@@ -201,6 +201,7 @@ TensorflowSampler<TInputImage, TVectorData> ...@@ -201,6 +201,7 @@ TensorflowSampler<TInputImage, TVectorData>
if (pix[i] == m_NodataValue) if (pix[i] == m_NodataValue)
{ {
std::cout << "[0]: pix[" << i << "]=" << pix[i] << std::endl; std::cout << "[0]: pix[" << i << "]=" << pix[i] << std::endl;
std::cout << "break" << std::endl;
hasBeenSampled = false; hasBeenSampled = false;
break; 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