ソースを参照

free gpu memory used

Jérôme BUISINE 4 年 前
コミット
bc65afde40
1 ファイル変更1 行追加0 行削除
  1. 1 0
      find_best_attributes_surrogate_dl.py

+ 1 - 0
find_best_attributes_surrogate_dl.py

@@ -230,6 +230,7 @@ def main():
         test_roc_auc = roc_auc_score(y_test, y_test_predict)
 
         end = datetime.datetime.now()
+        del model
 
         diff = end - start