浏览代码

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