Skip to content
Closed
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
2 changes: 1 addition & 1 deletion deepbinner/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def load_trained_model(model_file, out_dest=sys.stderr):
if not pathlib.Path(model_file).is_file():
sys.exit('Error: {} does not exist'.format(model_file))
print('Loading {}... '.format(model_file), file=out_dest, end='', flush=True)
model = load_model(model_file)
model = load_model(str(model_file))
print('done', file=out_dest)
try:
assert len(model.inputs) == 1
Expand Down