Skip to content

Commit

Permalink
add missing var to python code
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 28, 2024
1 parent 25201b8 commit 3bab7b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/ai/nets/samj/models/PythonMethods.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public class PythonMethods {
+ " mask = np.array(mask)" + System.lineSeparator()
+ " " + System.lineSeparator()
+ " # Flatten the mask in row-major order" + System.lineSeparator()
+ " ww = mask.shape[1]" + System.lineSeparator()
+ " binary = mask.flatten()" + System.lineSeparator()
+ " " + System.lineSeparator()
+ " # Find positions where values change" + System.lineSeparator()
Expand Down

0 comments on commit 3bab7b8

Please sign in to comment.