Skip to content

Commit

Permalink
Fix saving
Browse files Browse the repository at this point in the history
  • Loading branch information
FeGeyer committed Feb 20, 2023
1 parent edd9900 commit 3aaa208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radionets/dl_framework/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def load_pre_model(learn, pre_path, visualize=False, plot_loss=False):


def save_model(learn, model_path):
if hasattr(learn, "normalize"):
if hasattr(learn, "mean_real"):
norm_dict = {
"mean_real": learn.normalize.mean_real,
"mean_imag": learn.normalize.mean_imag,
Expand Down

0 comments on commit 3aaa208

Please sign in to comment.