Parcourir la source

free gpu memory used

Jérôme BUISINE il y a 3 ans
Parent
commit
bc65afde40
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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