aspuru-guzik-group / phoenics

Phoenics: Bayesian optimization for efficient experiment planning
Apache License 2.0
89 stars 19 forks source link

AttributeError: Can't pickle local object 'BayesianNeuralNetwork.build_penalties.<locals>.penalty_contributions' #7

Open pseudoni opened 2 years ago

pseudoni commented 2 years ago

Hi

I'm trying to run optimize_branin.py, but I get the error:

AttributeError: Can't pickle local object 'BayesianNeuralNetwork.build_penalties..penalty_contributions'

I have the following versions of Python/packages installed:

Python 3.6.5 cython 0.28.2 numpy 1.14.3 scipy 1.1.0 pymc3 3.2 theano 1.0.1 edward 1.3.5 tensorflow 1.5.0