Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Franck Dary
macaon
Commits
5acd244b
Commit
5acd244b
authored
Mar 20, 2021
by
Franck Dary
Browse files
Removed debug print
parent
4584da0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
reading_machine/src/Classifier.cpp
View file @
5acd244b
...
...
@@ -83,9 +83,7 @@ Classifier::Classifier(const std::string & name, std::filesystem::path path, std
if
(
!
train
)
{
fmt
::
print
(
stderr
,
"Before load on {}
\n
"
,
NeuralNetworkImpl
::
getDevice
()
==
torch
::
kCPU
?
"cpu"
:
"gpu"
);
torch
::
load
(
getNN
(),
getBestFilename
(),
NeuralNetworkImpl
::
getDevice
());
fmt
::
print
(
stderr
,
"After load
\n
"
);
getNN
()
->
registerEmbeddings
();
getNN
()
->
to
(
NeuralNetworkImpl
::
getDevice
());
}
...
...
Write
Preview
Supports
Markdown
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