Implemented by three lines: .. code-block:: python self.setup_callbacks(callbacks, monitors) self.initialize(session_creator, session_init) self.main_loop(steps_per_epoch, starting_epoch, max_epoch) You can call those methods by yoursel
(self,
callbacks, monitors,
session_creator, session_init,
steps_per_epoch, starting_epoch=1, max_epoch=9999999)
| 298 | self.hooked_sess.close() |
| 299 | |
| 300 | def train(self, |
| 301 | callbacks, monitors, |
| 302 | session_creator, session_init, |
| 303 | steps_per_epoch, starting_epoch=1, max_epoch=9999999): |
| 304 | """ |
| 305 | Implemented by three lines: |
| 306 | |
| 307 | .. code-block:: python |
| 308 | |
| 309 | self.setup_callbacks(callbacks, monitors) |
| 310 | self.initialize(session_creator, session_init) |
| 311 | self.main_loop(steps_per_epoch, starting_epoch, max_epoch) |
| 312 | |
| 313 | You can call those methods by yourself to have better control on details if needed. |
| 314 | """ |
| 315 | self.setup_callbacks(callbacks, monitors) |
| 316 | self.initialize(session_creator, session_init) |
| 317 | self.main_loop(steps_per_epoch, starting_epoch, max_epoch) |
| 318 | |
| 319 | def train_with_defaults( |
| 320 | self, _sentinel=None, |
no test coverage detected