File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4437,6 +4437,7 @@ def inception_model_prediction(
44374437 shape_model = None ,
44384438 morphodynamic_model = None ,
44394439 device = "cpu" ,
4440+ verbose = True
44404441):
44414442
44424443 sub_trackmate_dataframe = dataframe [dataframe ["TrackMate Track ID" ] == trackmate_id ]
@@ -4453,8 +4454,7 @@ def inception_model_prediction(
44534454 sub_dataframe_morpho = tracklet_sub_dataframe [SHAPE_DYNAMIC_FEATURES ].values
44544455
44554456 total_duration = tracklet_sub_dataframe ["Track Duration" ].max ()
4456- print (trackmate_id , len (sub_dataframe_morpho ))
4457- if len (sub_dataframe_morpho ) < tracklet_length :
4457+ if len (sub_dataframe_morpho ) < tracklet_length and verbose :
44584458 print (f'Tracklet for Track id { trackmate_id } too short for prediction' )
44594459 continue
44604460 sub_arrays_shape = sample_subarrays (
You can’t perform that action at this time.
0 commit comments