From b305e21e45ce40c15baf789c20182d71fb6c66f0 Mon Sep 17 00:00:00 2001 From: carlosuc3m <100329787@alumnos.uc3m.es> Date: Wed, 4 Dec 2024 12:14:16 +0100 Subject: [PATCH] remove path to my computer --- src/main/java/ai/nets/samj/models/PythonMethods.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/ai/nets/samj/models/PythonMethods.java b/src/main/java/ai/nets/samj/models/PythonMethods.java index bb30c2b..06fda05 100644 --- a/src/main/java/ai/nets/samj/models/PythonMethods.java +++ b/src/main/java/ai/nets/samj/models/PythonMethods.java @@ -85,7 +85,6 @@ public class PythonMethods { + " y_contours = []" + System.lineSeparator() + " rles = []" + System.lineSeparator() + " sizes = []" + System.lineSeparator() - + " np.save('/home/carlos/git/test.npy', sam_result)" + System.lineSeparator() + " for obj in labels:" + System.lineSeparator() + " if obj.num_pixels >= at_least_of_this_size:" + System.lineSeparator() + " x_coords,y_coords = trace_contour(obj.image, obj.num_pixels, obj.bbox[1],obj.bbox[0])" + System.lineSeparator()