Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cresson Remi
otbtf
Commits
7e11cd2d
Commit
7e11cd2d
authored
Oct 29, 2019
by
Cresson Remi
Browse files
ENH: fix bug with nodata
parent
a8e64151
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/otbTensorflowSampler.hxx
View file @
7e11cd2d
...
@@ -201,7 +201,7 @@ TensorflowSampler<TInputImage, TVectorData>
...
@@ -201,7 +201,7 @@ TensorflowSampler<TInputImage, TVectorData>
{
{
if
(
pix
[
band
]
==
m_NodataValue
)
if
(
pix
[
band
]
==
m_NodataValue
)
{
{
std
::
cout
<<
"FOUNd NODATA"
<<
std
d
::
endl
;
std
::
cout
<<
"FOUNd NODATA"
<<
std
::
endl
;
hasBeenSampled
=
false
;
hasBeenSampled
=
false
;
break
;
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment