How to parameterize number of epochs

27 views
Skip to first unread message

Tapojit Debnath

unread,
Nov 2, 2017, 1:03:00 AM11/2/17
to clojure-cortex
Hi,
I cannot find a way to limit the number of epochs during CNN training. The only way I can stop training right now is by killing the process. Is there a way to add a limited number of epochs as an argument? 

Harold

unread,
Nov 2, 2017, 12:35:04 PM11/2/17
to clojure-cortex
Hello,

Thanks for your interest and question.

If you're using the experiment framework, then `epoch-count` is a parameter to the `train-n` function:

If you're calling `execute/train` directly, you'll need to manage quitting after a number of epochs yourself, here is how the experiment framework does it:

Hope that helps, let us know if there's more info we can provide,
-Harold

Tapojit Debnath

unread,
Nov 4, 2017, 11:52:59 PM11/4/17
to clojure-cortex
It worked! Thanks a lot for pointing that out!

Harold

unread,
Nov 5, 2017, 11:01:10 AM11/5/17
to clojure-cortex
Glad to hear it. You are welcome.

-Harold
Reply all
Reply to author
Forward
0 new messages