Skip to content
Snippets Groups Projects
Commit 082cc389 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

cout error at every epochs during training (for testing purposes)

parent dc19d1cb
No related branches found
No related tags found
No related merge requests found
......@@ -167,6 +167,7 @@ void AutoencoderModel<TInputValue,AutoencoderType>::TrainOneSparseLayer(shark::A
{
File << optimizer.solution().value << std::endl;
}
std::cout<<"error after " << i << "iterations : " << optimizer.solution().value<<std::endl;
} while( !criterion.stop( optimizer.solution() ) );
std::cout<<"error after " << i << "iterations : " << optimizer.solution().value<<std::endl;
if (this->m_WriteLearningCurve =true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment