Skip to content

Commit

Permalink
remove python typing to avoid unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 25, 2024
1 parent a5fdfe6 commit b2001b9
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 @@ -109,7 +109,7 @@ public class PythonMethods {
* Run-Length Encoding (RLE) algorithm
*/
protected static String RLE_METHOD = ""
+ "def encode_rle(mask: np.ndarray) -> List[int]:" + System.lineSeparator()
+ "def encode_rle(mask):" + System.lineSeparator()
+ " \"\"\"" + System.lineSeparator()
+ " Encode a binary mask using Run-Length Encoding (RLE)." + System.lineSeparator()
+ " " + System.lineSeparator()
Expand Down

0 comments on commit b2001b9

Please sign in to comment.