Model takes too much time to train #1037
Answered
by
LuluW8071
SailSabnis
asked this question in
Q&A
-
Hi all, I wrote the exact same code as Daniel and trying to run it on 2 epochs. But, it takes forever. I am on CPU but still it takes unusually long time. Is this normal? |
Beta Was this translation helpful? Give feedback.
Answered by
LuluW8071
Aug 9, 2024
Replies: 1 comment 3 replies
-
It depends on hardware, data and model complexity u r training on. CPU generally takes longer time if there are lots of featured data and huge parameter in model. Try increasing batch size and decrease learning rate if it still persists OR Restart the kernel to refresh RAM and run again. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
mrdbourke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It depends on hardware, data and model complexity u r training on. CPU generally takes longer time if there are lots of featured data and huge parameter in model. Try increasing batch size and decrease learning rate if it still persists OR Restart the kernel to refresh RAM and run again.