Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
bingogome committed Jan 19, 2024
1 parent 3ac68f8 commit af85895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samm-python-terminal/utl_sam_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])):
Expand Down

0 comments on commit af85895

Please sign in to comment.