diff --git a/project-dataset/src/ui/inference_preview.py b/project-dataset/src/ui/inference_preview.py index bd58b38..05b661d 100644 --- a/project-dataset/src/ui/inference_preview.py +++ b/project-dataset/src/ui/inference_preview.py @@ -552,7 +552,6 @@ def apply_model_to_images( :rtype: Tuple[List[sly.Annotation], List[sly.Annotation], sly.ProjectMeta] """ if g.model_info["app_name"].startswith("Serve Segment Anything"): - print("using sam model...") inference_settings["mode"] = "raw" # Reading parameters from widgets: inference_mode. inference_mode = settings.inference_mode.get_value() diff --git a/project-dataset/src/ui/output_data.py b/project-dataset/src/ui/output_data.py index ca12193..9a428a1 100644 --- a/project-dataset/src/ui/output_data.py +++ b/project-dataset/src/ui/output_data.py @@ -201,9 +201,7 @@ def apply_model(): inference_settings = yaml.safe_load(settings.additional_settings.get_value()) if inference_settings is None: inference_settings = {} - print(g.model_info) if g.model_info["app_name"].startswith("Serve Segment Anything"): - print("using sam model...") inference_settings["mode"] = "raw" sly.logger.info(f"Final Inference Settings: {inference_settings}")