Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
- cleaned up Scan() namespace
- added one example to docs
  • Loading branch information
mikkokotila committed Aug 3, 2019
1 parent 197c001 commit b682a5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/Monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ Scan(print_params=True)
Epoch-by-epoch training data is available during the experiment using the `ExperimentLogCallback`:

```python

model.fit(...
callbacks=[talos.utils.ExperimentLogCallback('filename_or_path', params)])
```
NOTE: `params` is the params dictionary in the `Scan()` input model.
4 changes: 2 additions & 2 deletions talos/scan/Scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ def __init__(self, x, y, params, model,
self.clear_session = clear_session
# input parameters section ends

self.runtime()
self._runtime()

def runtime(self):
def _runtime(self):

from .scan_run import scan_run
self = scan_run(self)

0 comments on commit b682a5e

Please sign in to comment.