Skip to content

Commit

Permalink
Added check
Browse files Browse the repository at this point in the history
  • Loading branch information
ksanjeevan committed Jul 18, 2018
1 parent 7c40910 commit 8d7ad1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/netparams.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ class YoloParams(object):
# Model
#IN_MODEL = config['config_path']['in_model']
IN_MODEL = args.model

assert os.path.isfile(IN_MODEL), "Pass valid input keras model."

OUT_MODEL_NAME = config['train']['out_model_name']

ARCH_FNAME = config['config_path']['arch_plotname']
Expand Down

0 comments on commit 8d7ad1d

Please sign in to comment.