Skip to content

Commit

Permalink
fix model printing error
Browse files Browse the repository at this point in the history
  • Loading branch information
mark0428 authored and mark0428 committed Jul 3, 2022
1 parent cae4611 commit 1ada763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AMPlify.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,12 @@ def main():

args = parser.parse_args()

print('\nLoading \s models...'%args.model)
model_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))+'/models/'
models = [model_dir + args.model + '/AMPlify_' + args.model + '_model_weights_' \
+ str(i+1) + '.h5' for i in range(5)]
print('\nLoading %s models...'%args.model)
for n in range(5):
print(models[n])
# load models for final output
out_model = load_multi_model(models, build_amplify)
# load_models for attention
Expand Down

0 comments on commit 1ada763

Please sign in to comment.