浏览代码

fix silly bug

Ali Bellamine 2 年之前
父节点
当前提交
43eaebefd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bop_scripts/nn_models.py

+ 1 - 1
bop_scripts/nn_models.py

@@ -214,7 +214,7 @@ class torchMLPClassifier_sklearn (BaseEstimator):
         y_hat_proba_torch = np.concatenate([
             1-y_hat_proba_torch,
             y_hat_proba_torch
-        ], axis=0)
+        ], axis=1)
         y_hat_proba = y_hat_proba_torch
 
         return y_hat_proba