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
Lozac'h Loic
otbtf
Commits
a51d1704
Commit
a51d1704
authored
Jul 18, 2018
by
remi cresson
Browse files
ENH: clarify exception message
parent
2a69c0da
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/otbTensorflowCopyUtils.cxx
View file @
a51d1704
...
@@ -183,7 +183,8 @@ void CopyTensorToImageRegion(const tensorflow::Tensor & tensor, const typename T
...
@@ -183,7 +183,8 @@ void CopyTensorToImageRegion(const tensorflow::Tensor & tensor, const typename T
itkGenericExceptionMacro
(
"Number of elements in the tensor is "
<<
nElmT
<<
itkGenericExceptionMacro
(
"Number of elements in the tensor is "
<<
nElmT
<<
" but image outputRegion has "
<<
nElmI
<<
" but image outputRegion has "
<<
nElmI
<<
" values to fill.
\n
Buffer region:
\n
"
<<
bufferRegion
<<
" values to fill.
\n
Buffer region:
\n
"
<<
bufferRegion
<<
"Tensor shape:
\n
"
<<
PrintTensorShape
(
tensor
.
shape
())
<<
"
\n
Number of components: "
<<
outputDimSize_C
<<
"
\n
Tensor shape:
\n
"
<<
PrintTensorShape
(
tensor
.
shape
())
<<
"
\n
Please check the input(s) field of view (FOV), "
<<
"
\n
Please check the input(s) field of view (FOV), "
<<
"the output field of expression (FOE), and the "
<<
"the output field of expression (FOE), and the "
<<
"output spacing scale if you run the model in fully "
<<
"output spacing scale if you run the model in fully "
<<
...
...
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