Skip to content

Commit

Permalink
Removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
clamytoe committed Dec 18, 2022
1 parent 26da4e0 commit 698794a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@
lrs = learn.lr_find(suggest_funcs=(minimum, steep, valley, slide))
print(f"{lrs=}")

# print("Performing initial training...")
# learn.fit_one_cycle(3, lrs.valley)

save_best = SaveModelCallback(
monitor="valid_loss",
min_delta=0.000001,
Expand All @@ -96,13 +93,6 @@

print("Model validation:", learn.validate())

# print("Unfreezing the last two layers...")
# learn.unfreeze()

# # Fine tune the model
# print("Fine tuning the model...")
# learn.fine_tune(12, lrs.valley)

# Save the model
print("Saving model as: fastai_model.pkl...")
learn.export("fastai_model.pkl")
Expand Down

0 comments on commit 698794a

Please sign in to comment.