Przeglądaj źródła

free gpu memory used

Jérôme BUISINE 3 lat temu
rodzic
commit
bc65afde40
1 zmienionych plików z 1 dodań i 0 usunięć
  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