Skip to content

Commit

Permalink
changing loading utils for tf compatibilit
Browse files Browse the repository at this point in the history
  • Loading branch information
panushri25 committed Apr 11, 2023
1 parent 93aaf2d commit d501bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrombpnet/evaluation/interpret/input_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def load_model_wrapper(args):
# read .h5 model
custom_objects={"multinomial_nll": losses.multinomial_nll, "tf": tf}
get_custom_objects().update(custom_objects)
model=load_model(args.model_h5)
model=load_model(args.model_h5,compile=False)
print("got the model")
model.summary()
return model
Expand Down

0 comments on commit d501bf9

Please sign in to comment.