Skip to content

Commit

Permalink
bugfix finetuning, evaluation and finetuning on tf data set
Browse files Browse the repository at this point in the history
  • Loading branch information
thorben-frank committed Apr 9, 2024
1 parent faa5892 commit 0c2ff72
Show file tree
Hide file tree
Showing 4 changed files with 369 additions and 151 deletions.
7 changes: 6 additions & 1 deletion mlff/CLI/run_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ def evaluate_so3krates_sparse():

pick_idx = splits[args.on_split] if args.on_split != 'full' else None

metrics = from_config.run_evaluation(config=cfg, num_test=args.num_test, pick_idx=pick_idx)
metrics = from_config.run_evaluation(
config=cfg,
num_test=args.num_test,
pick_idx=pick_idx,
on_split=args.on_split
)
print(metrics)


Expand Down
9 changes: 5 additions & 4 deletions mlff/CLI/run_evaluation_on.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,11 @@ def evaluate_so3krates_sparse_on():
args.write_batch_metrics_to
).expanduser().resolve() if args.write_batch_metrics_to is not None else None

if write_batch_metrics_to.suffix == '.csv':
pass
else:
write_batch_metrics_to = f'{write_batch_metrics_to}.csv'
if write_batch_metrics_to is not None:
if write_batch_metrics_to.suffix == '.csv':
pass
else:
write_batch_metrics_to = f'{write_batch_metrics_to}.csv'

metrics = from_config.run_evaluation(
config=cfg,
Expand Down
Loading

0 comments on commit 0c2ff72

Please sign in to comment.