Takes an Hour to complete each Epoch

There are totally 15 epochs, as specified in the notebook itself, am I supposed to run all 15 epochs or can I alter it to a smaller number since it’s taking almost an hour for each epoch. Or is there something else I can do to reduce the runtime?

Have you tried changing the runtime to GPU.

Yes, it is using GPU

Im not familiar with this assignment but if you are using GPU and is taking that long is not normal, maybe the notebook is suggesting to import some pretrained weights? Other sugesstion is to check if you have made some mistakes somewhere so some loop is running for a long time if not forever.

I restarted the runtime and it works. Thank you


Just in case you were wondering how to reduce runtime, check this post

1 Like