Skip to content
Snippets Groups Projects
Commit 90fdb78d authored by tomrink's avatar tomrink
Browse files

snapshot...

parent cbfd68fe
No related branches found
No related tags found
No related merge requests found
...@@ -953,7 +953,7 @@ def analyze_5cat(file): ...@@ -953,7 +953,7 @@ def analyze_5cat(file):
pred_0_1 = pred[msk_0_1] pred_0_1 = pred[msk_0_1]
pred_0_1 = np.where(pred_0_1 == 2, 1, pred_0_1) pred_0_1 = np.where(pred_0_1 == 2, 1, pred_0_1)
# ---- # ----------------------------------------------
lbls_1_2 = lbls[msk_1_2] lbls_1_2 = lbls[msk_1_2]
lbls_1_2 = np.where(lbls_1_2 == 1, 0, lbls_1_2) lbls_1_2 = np.where(lbls_1_2 == 1, 0, lbls_1_2)
lbls_1_2 = np.where(lbls_1_2 == 2, 1, lbls_1_2) lbls_1_2 = np.where(lbls_1_2 == 2, 1, lbls_1_2)
...@@ -964,7 +964,7 @@ def analyze_5cat(file): ...@@ -964,7 +964,7 @@ def analyze_5cat(file):
pred_1_2 = np.where(pred_1_2 == 2, 1, pred_1_2) pred_1_2 = np.where(pred_1_2 == 2, 1, pred_1_2)
pred_1_2 = np.where(pred_1_2 == -9, 1, pred_1_2) pred_1_2 = np.where(pred_1_2 == -9, 1, pred_1_2)
# ---- # -----------------------------------------------
lbls_0_2 = lbls[msk_0_2] lbls_0_2 = lbls[msk_0_2]
lbls_0_2 = np.where(lbls_0_2 == 2, 1, lbls_0_2) lbls_0_2 = np.where(lbls_0_2 == 2, 1, lbls_0_2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment