Skip to content

Commit

Permalink
Add dynamic loading of optimizer, And fix resumtion test. (#42)
Browse files Browse the repository at this point in the history
* Fix #19 (#20)

* Fix #21 (#22)

* fix README (#23)

* fix codestyle test (#26)

* fix for pycodestyle

* add flake8==4.0.1

* Feature/update readme (#25)

* update README

* add bash

Co-authored-by: Yoshiaki Bando <[email protected]>

* Fix TPE resumtion test (#29)

* Fix tpe resumption test

* fix tpe resumption test

* Fix tep resumption test

* add retry (#38)

* Add dynamic loading of optimizer (#34)

* (WIP) Add dynamic loading of optimizer by importlib.

* (WIP) Add dynamic loading of optimizer by importlib.

* Add dynamic loading of optimizer by importlib

* Add dynamic loading of optimizer by importlib

* Fix test code

* fix test

* Fix resumtioin test

* Add dynamic loading of optimizer

* Fix dynamic loading of optimizer

* Function names and comments were rolled back.

* Changed the standard optimizer specification method

* changed the specification method for importing the standard optimizer.

* change deserialize (#40)

Co-authored-by: aramoto99 <[email protected]>

* Merge branch 'main' of github:aistairc/aiaccel into feature/database

* Fix codestyle

* (WIP) Change TPE resume

* Fix resume test

* Feature/fix resume tpe (#41)

* fix resume tpe

* fix resume tpe

* add if len(running_trials) > 0

* fix about trial number

* Fix TPE resumption

Co-authored-by: Takashi OKADA <[email protected]>
Co-authored-by: KanaiYuma-aist <[email protected]>
Co-authored-by: Yoshiaki Bando <[email protected]>
  • Loading branch information
4 people authored Aug 26, 2022
1 parent c4e48fa commit 24a7401
Show file tree
Hide file tree
Showing 74 changed files with 273 additions and 630 deletions.
11 changes: 6 additions & 5 deletions aiaccel/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Import this as follows:
* import aiaccel
"""

alive_master = 'master.yml'
alive_optimizer = 'optimizer.yml'
alive_scheduler = 'scheduler.yml'
Expand Down Expand Up @@ -68,11 +69,11 @@
resource_type_local = 'local'
resource_type_abci = 'abci'

search_algorithm_grid = 'grid'
search_algorithm_nelder_mead = 'nelder-mead'
search_algorithm_random = 'random'
search_algorithm_sobol = 'sobol'
search_algorithm_tpe = 'tpe'
search_algorithm_grid = 'aiaccel.optimizer.GridOptimizer'
search_algorithm_nelder_mead = 'aiaccel.optimizer.NelderMeadOptimizer'
search_algorithm_random = 'aiaccel.optimizer.RandomOptimizer'
search_algorithm_sobol = 'aiaccel.optimizer.SobolOptimizer'
search_algorithm_tpe = 'aiaccel.optimizer.TpeOptimizer'


def get_module_type_from_class_name(class_name: str) -> str:
Expand Down
Loading

0 comments on commit 24a7401

Please sign in to comment.