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
e6b9428f
Commit
e6b9428f
authored
Oct 29, 2019
by
Cresson Remi
Browse files
ENH: fix bug with nodata
parent
da09d9a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/otbTensorflowSampler.hxx
View file @
e6b9428f
...
...
@@ -200,8 +200,8 @@ TensorflowSampler<TInputImage, TVectorData>
for
(
int
i
;
i
<
pix
.
Size
();
i
++
)
if
(
pix
[
i
]
==
m_NodataValue
)
{
std
::
cout
<<
"[0]: pix["
<<
i
<<
"]="
<<
pix
[
i
]
<<
std
::
endl
;
hasBeenSampled
=
false
;
std
::
cout
<<
"break"
<<
std
::
endl
;
break
;
}
if
(
!
hasBeenSampled
)
...
...
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