Skip to content

Commit

Permalink
Fix model_path reference in deploy and heatmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Avic3nna committed May 7, 2024
1 parent 320bdaa commit 6ef1677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stamp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def run_cli(args: argparse.Namespace):
target_label=c.target_label,
cat_labels=c.cat_labels,
cont_labels=c.cont_labels,
model_path=model_path)
model_path=Path(c.model_path))
case "statistics":
require_configs(
cfg,
Expand All @@ -211,7 +211,7 @@ def run_cli(args: argparse.Namespace):
main(slide_name=str(c.slide_name),
feature_dir=Path(c.feature_dir),
wsi_dir=Path(c.wsi_dir),
model_path=model_path,
model_path=Path(c.model_path),
output_dir=Path(c.output_dir),
n_toptiles=int(c.n_toptiles),
overview=c.overview)
Expand Down

0 comments on commit 6ef1677

Please sign in to comment.