From af85895b74058be415332d11f08e96c14f63067a Mon Sep 17 00:00:00 2001 From: Yihao Liu Date: Fri, 19 Jan 2024 14:30:25 -0500 Subject: [PATCH] remove test --- samm-python-terminal/utl_sam_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samm-python-terminal/utl_sam_server.py b/samm-python-terminal/utl_sam_server.py index 12b283b..91c8084 100644 --- a/samm-python-terminal/utl_sam_server.py +++ b/samm-python-terminal/utl_sam_server.py @@ -165,8 +165,8 @@ def CalculateEmbeddings(msg): print("[SAMM INFO] Red View Progress:") for i in tqdm(range(dataNode.N["R"])): dataNode.samPredictor["R"].set_image(cv2.cvtColor(dataNode.mainVolume[i,:,:],cv2.COLOR_GRAY2RGB)) - if i == 127: - testImage(dataNode, 127, np.array([[70,140]]), "R") + # if i == 127: + # testImage(dataNode, 127, np.array([[70,140]]), "R") dataNode.features["R"][i] = dataNode.samPredictor["R"].features.to('cpu') print("[SAMM INFO] Green View Progress:") for i in tqdm(range(dataNode.N["G"])):