Skip to content

Commit

Permalink
remove lr plot
Browse files Browse the repository at this point in the history
  • Loading branch information
xhelenfu committed Sep 7, 2023
1 parent 308b182 commit dc5be56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bidcell/model/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,11 @@ def train(config: Config):
lrs.append(cur_lr)

# Plot lr scheduler
plt.plot(lrs, ".-", label="LambdaLR")
plt.xlabel("epoch")
plt.ylabel("LR")
plt.tight_layout()
plt.savefig(experiment_path + "/LR.png", dpi=300)
# plt.plot(lrs, ".-", label="LambdaLR")
# plt.xlabel("epoch")
# plt.ylabel("LR")
# plt.tight_layout()
# plt.savefig(experiment_path + "/LR.png", dpi=300)

logging.info("Training finished")

Expand Down

0 comments on commit dc5be56

Please sign in to comment.