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

How to solve this problem,who can help me? #3

Open
sinanlouis opened this issue May 31, 2024 · 0 comments
Open

How to solve this problem,who can help me? #3

sinanlouis opened this issue May 31, 2024 · 0 comments

Comments

@sinanlouis
Copy link

After running the following code

result = fmin(eval_func=evaluate, config_space=HDL,
optimizer="ETPE", n_iterations=50)
result

Error occurred, displaying

ImportError Traceback (most recent call last)
File d:\python39\lib\site-packages\ultraopt\facade\fmin.py:77, in fmin(eval_func, config_space, optimizer, initial_points, random_state, n_iterations, n_jobs, parallel_strategy, auto_identify_serial_strategy, multi_fidelity_iter_generator, previous_result, warm_start_strategy, show_progressbar, checkpoint_file, checkpoint_freq, verbose, run_id, ns_host, ns_port)
76 try:
---> 77 opt_ = getattr(importlib.import_module("ultraopt.optimizer"),
78 f"{optimizer}Optimizer")()
79 except Exception:

File d:\python39\lib\importlib_init_.py:127, in import_module(name, package)
126 level += 1
--> 127 return _bootstrap._gcd_import(name[level:], package, level)

File :1030, in _gcd_import(name, package, level)

File :1007, in find_and_load(name, import)

File :986, in find_and_load_unlocked(name, import)

File :680, in _load_unlocked(spec)

File :850, in exec_module(self, module)

File :228, in _call_with_frames_removed(f, *args, **kwds)

File d:\python39\lib\site-packages\ultraopt\optimizer_init_.py:3
...
---> 80 raise ValueError(f"Invalid optimizer string-indicator: {optimizer}")
81 else:
82 raise NotImplementedError

ValueError: Invalid optimizer string-indicator: ETPE

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