python删除变量并释放内存

import gc
del X_train, X_test
gc.collect()
原文地址:https://www.cnblogs.com/syw-home/p/14174257.html