delete resource module in optimization_demo_BO.py (not for Windows users)
@@ -11,7 +11,6 @@ import multiprocessing as mp
from optimization.optimizer import default_parameters as BO_parameters
from evaluation_metrics.coherence_metrics import Coherence
import time
-import resource
def simple_optimization(minimizer):
@@ -103,10 +102,6 @@ def simple_optimization(minimizer):
res.save(name ="Result", path = path_t, parameters = stringa_parameters)
- print( resource.getrusage(resource.RUSAGE_SELF).ru_maxrss, "Kbytes" ) # RAM usage
-
-
-
def optimization_demo_BO():
"""
Bayesian Optimization demo.
