Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
from metrics import Metrics
from checkpoint import load_checkpoint

import pprint

def eval(**args):
"""
Evaluate selected model
Expand All @@ -33,9 +35,8 @@ def eval(**args):
None
"""

print("\n############################################################################\n")
print("Experimental Setup: ", args)
print("\n############################################################################\n")
print("Experimental Setup: ")
pprint.PrettyPrinter(indent=4).pprint(args)

d = datetime.datetime.today()
date = d.strftime('%Y%m%d-%H%M%S')
Expand Down
7 changes: 4 additions & 3 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
from metrics import Metrics
from checkpoint import save_checkpoint, load_checkpoint

import pprint

def train(**args):
"""
Evaluate selected model
Expand All @@ -41,9 +43,8 @@ def train(**args):
None
"""

print("\n############################################################################\n")
print("Experimental Setup: ", args)
print("\n############################################################################\n")
print("Experimental Setup: ")
pprint.PrettyPrinter(indent=4).pprint(args)

for total_iteration in range(args['rerun']):

Expand Down