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
OpenDAS
dlib
Commits
68c98498
Commit
68c98498
authored
Jan 29, 2018
by
Davis King
Browse files
Improved error message.
parent
b1589d2b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
dlib/dnn/layers.h
dlib/dnn/layers.h
+4
-1
No files found.
dlib/dnn/layers.h
View file @
68c98498
...
...
@@ -2302,7 +2302,10 @@ namespace dlib
DLIB_CASSERT
(
scales
.
num_samples
()
==
src
.
num_samples
()
&&
scales
.
k
()
==
src
.
k
()
&&
scales
.
nr
()
==
1
&&
scales
.
nc
()
==
1
);
scales
.
nc
()
==
1
,
"scales.k(): "
<<
scales
.
k
()
<<
"
\n
src.k(): "
<<
src
.
k
()
);
output
.
copy_size
(
src
);
tt
::
scale_channels
(
false
,
output
,
src
,
scales
);
...
...
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