Skip to content

Commit

Permalink
correct invalid syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 28, 2024
1 parent bb44078 commit 86fac14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ai/nets/samj/models/PythonMethods.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class PythonMethods {
+ " x_coords,y_coords = trace_contour(obj.image, obj.num_pixels, obj.bbox[1],obj.bbox[0])" + System.lineSeparator()
+ " rles = encode_rle(obj.image)" + System.lineSeparator()
+ " for i in range(0, len(lst), 2):" + System.lineSeparator()
+ " rles[i] += sam_result.shape[1] * (obj.bbox[0] + i) + obj.bbox[1]:" + System.lineSeparator()
+ " rles[i] += sam_result.shape[1] * (obj.bbox[0] + i) + obj.bbox[1]" + System.lineSeparator()
+ " rles.append(encode_rle(obj.image))" + System.lineSeparator()
+ " x_contours.append(x_coords)" + System.lineSeparator()
+ " y_contours.append(y_coords)" + System.lineSeparator()
Expand Down

0 comments on commit 86fac14

Please sign in to comment.