Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black box optimizer #52

Open
dbrkz opened this issue Jun 26, 2023 · 0 comments
Open

Black box optimizer #52

dbrkz opened this issue Jun 26, 2023 · 0 comments

Comments

@dbrkz
Copy link

dbrkz commented Jun 26, 2023

Hi
when running Examples notebook, I encounter such issue when getting to optimization step (both on Windows and Mac):

mixture.run_optimizer(n_trials = 200, # How many runs to try

                  n_startup = 20, # How many trials to start the search with

                  allow_pref_orient = True, # To allow pref orietnation to be refined

                  allow_atomic_params = True, # Allows atomic paramaters (X, U) to be considered

                  allow_broad = True, # Allow broadenign terms (Check GSAS II doc.) (test)

                  allow_strain = True, # Allow strain terms (test)

                  allow_angle = True, # To allow acute angle refinement first.

                  force_ori = False, # To always consider pref. orientation

                  verbose = 'silent', # Verbose

                  param = 'rwp', # Objetive goal

                  n_jobs = -1, # Number of cores to use

                  plot_best = True, # plot best result after opt.

                  show_lattice = True, # Prints obtained lattice parameters

                  random_state = 71, # Random state

                 )

[W 2023-06-26 21:38:25,378] Trial 5 failed because of the following error: AttributeError("Can't pickle local object 'BlackboxOptimizer.objective_mp..evaluate'")
Traceback (most recent call last):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant