Skip to content

Commit

Permalink
fix two configs and remove a print in model_fit
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-woodward committed Apr 23, 2024
1 parent 3b93e87 commit b957d70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion fao_models/model_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def main():
logger.info("Training history:")
logger.info(pformat(history.history))

print(val_data_dir)
if val_data_dir:
val_dataset = dl.load_dataset_from_tfrecords(val_data_dir, batch_size=batch_size)
eval = model.evaluate(val_dataset,return_dict=True)
Expand Down
4 changes: 2 additions & 2 deletions runc-resnet-epochs10-batch32-lr001.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
experiment_name: resnet-epochs10-batch64-lr01
experiment_name: resnet-epochs10-batch64-lr001
model_name: resnet
data_dir: tfrecords/train_test
val_data_dir: tfrecords/val
checkpoint: saved_models/resnet-epochs10-batch64-lr01/best_model.h5
checkpoint: saved_models/resnet-epochs10-batch64-lr001/best_model.h5
total_examples: 70000 # number of geotiffs not tfrecords
test_split: 0.2 # float or null

Expand Down
4 changes: 2 additions & 2 deletions runc-resnet-epochs10-batch64-lr001.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
experiment_name: resnet-epochs10-batch64-lr01
experiment_name: resnet-epochs10-batch64-lr001
model_name: resnet
data_dir: tfrecords/train_test
val_data_dir: tfrecords/val
checkpoint: saved_models/resnet-epochs10-batch64-lr01/best_model.h5
checkpoint: saved_models/resnet-epochs10-batch64-lr001/best_model.h5
total_examples: 70000 # number of geotiffs not tfrecords
test_split: 0.2 # float or null

Expand Down

0 comments on commit b957d70

Please sign in to comment.