File tree 4 files changed +5
-4
lines changed
4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ def test_fit_and_add_probs(
114
114
"-oc" ,
115
115
str (new_cfg_path ),
116
116
"--is-tracking" ,
117
+ "--is-segmentation" ,
117
118
"--persistence" ,
118
119
]
119
120
+ zarr_dataset_paths
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def match_gt_cli(
150
150
LOG .info ("Estimated new config: %s" , new_config )
151
151
LOG .info ("Saving new config to %s" , output_config )
152
152
with open (output_config , "w" ) as f :
153
- toml .dump (new_config .dict (by_alias = True ), f )
153
+ toml .dump (new_config .model_dump (by_alias = True ), f )
154
154
155
155
if insert_prob or output_model is not None :
156
156
model = fit_nodes_prob (
Original file line number Diff line number Diff line change @@ -379,8 +379,8 @@ def match_to_ground_truth(
379
379
)
380
380
max_area , min_area = min_area , max_area
381
381
382
- opt_config .segmentation_config .min_area = float ( min_area )
383
- opt_config .segmentation_config .max_area = float ( max_area )
382
+ opt_config .segmentation_config .min_area = int ( round ( min_area ) )
383
+ opt_config .segmentation_config .max_area = int ( round ( max_area ) )
384
384
385
385
opt_config .segmentation_config .min_frontier = float (
386
386
max (gt_df ["parent_frontier" ].min () - 0.025 , 0.0 )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def _validate_classifier(
41
41
"`catboost` is required if classifier is not provided.\n "
42
42
"Please install it with `pip install catboost` or `pip install 'ultrack[ml]'`."
43
43
) from e
44
- classifier = CatBoostClassifier (allow_const_label = True )
44
+ classifier = CatBoostClassifier (allow_const_label = True , silent = True )
45
45
46
46
return classifier
47
47
You can’t perform that action at this time.
0 commit comments