Skip to content

Commit

Permalink
[tools/onert_train] Change default learning rate (#11745)
Browse files Browse the repository at this point in the history
This commit changes the default learning rate value to 0.001.

ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
  • Loading branch information
jyoungyun authored Oct 23, 2023
1 parent 9dcd0be commit a8dda5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tools/onert_train/src/args.cc
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void Args::Initialize(void)
("mem_poll,m", po::value<bool>()->default_value(false)->notifier([&](const auto &v) { _mem_poll = v; }), "Check memory polling")
("epoch", po::value<int>()->default_value(5)->notifier([&](const auto &v) { _epoch = v; }), "Epoch number (default: 5)")
("batch_size", po::value<int>()->default_value(32)->notifier([&](const auto &v) { _batch_size = v; }), "Batch size (default: 32)")
("learning_rate", po::value<float>()->default_value(1.0e-4)->notifier([&](const auto &v) { _learning_rate = v; }), "Learning rate (default: 1.0e-4)")
("learning_rate", po::value<float>()->default_value(0.001)->notifier([&](const auto &v) { _learning_rate = v; }), "Learning rate (default: 0.001)")
("loss", po::value<int>()->default_value(0)->notifier([&] (const auto &v) { _loss_type = v; }),
"Loss type\n"
"0: MEAN_SQUARED_ERROR (default)\n"
Expand Down

0 comments on commit a8dda5b

Please sign in to comment.