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

ENH: fix bug with nodata

parent 4d99cea2
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
...@@ -201,6 +201,7 @@ TensorflowSampler<TInputImage, TVectorData> ...@@ -201,6 +201,7 @@ TensorflowSampler<TInputImage, TVectorData>
if (pix[i] == m_NodataValue) if (pix[i] == m_NodataValue)
{ {
hasBeenSampled = false; hasBeenSampled = false;
std::cout << "REJECT!" << std::endl;
break; break;
} }
if (!hasBeenSampled) if (!hasBeenSampled)
......
Supports Markdown
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