0
$\begingroup$

will it need more epochs for training or it is not a necessary and what is the learning rate I should set for this data with optimizer adam?

$\endgroup$

1 Answer 1

0
$\begingroup$

you can use the default learning rate, then apply the learning rate scheduler to adjust your learning rate in every few epochs. Please refer to the keras document

$\endgroup$
3
  • $\begingroup$ This is alternative approach. You can try one of these. You can use the adam default learning rate in kears as the initial_learning_rate then it will adjust/decay in every few epochs/steps. $\endgroup$
    – DaCard
    Commented Feb 23, 2022 at 18:03
  • $\begingroup$ thanks for replying but excuse what about decay_steps and decay_rate? and does the epochs will exceed 20 epochs as a dataset is large $\endgroup$
    – sam
    Commented Feb 23, 2022 at 18:13
  • $\begingroup$ These are all hyper-parameters. You need to specify in advance. I encourage you to try out few different numbers. (# of steps) * (batch_size) = 1 epoch, it all depends on your data size. Try several sets of decay_steps, decay_rates. Again these are hyper-parameters. BTW, if you think my solution is helpful, please accept my answer and hit up. Thanks $\endgroup$
    – DaCard
    Commented Feb 23, 2022 at 18:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.