Skip to content

Commit

Permalink
Additional logging messages during load
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jul 25, 2022
1 parent f1ac704 commit c6902b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2111,6 +2111,7 @@ def load(
# Try to load model from <equation_file>.pkl
print(f"Checking if {equation_file}.pkl exists...")
if os.path.exists(str(equation_file) + ".pkl"):
print(f"Loading model from {equation_file}.pkl.")
assert binary_operators is None
assert unary_operators is None
assert n_features_in is None
Expand Down

0 comments on commit c6902b7

Please sign in to comment.