The periodic save will probably not correspond with the exit time.
Bas Nijholt authored on 26/08/2019 10:22:26 • GitHub committed on 26/08/2019 10:22:26... | ... |
@@ -84,6 +84,9 @@ For example, you create the following file called ``run_learner.py``: |
84 | 84 |
# block until runner goal reached |
85 | 85 |
runner.ioloop.run_until_complete(runner.task) |
86 | 86 |
|
87 |
+ # save one final time before exiting |
|
88 |
+ learner.save(fname) |
|
89 |
+ |
|
87 | 90 |
|
88 | 91 |
On your laptop/desktop you can run this script like: |
89 | 92 |
|