The runtime optuna version 2.9.1 is no longer compatible with the table schema (set up by optuna 2.9.1)
See original GitHub issueAs the title says this error comes up
RuntimeError: The runtime optuna version 2.9.1 is no longer compatible with the table schema (set up by optuna 2.9.1). Please try updating optuna to the latest version by $ pip install -U optuna
.
i did “pip install -U optuna”. and didnt fix it. so not sure what to do here
Steps to reproduce
1- added storage = optuna.storages.RDBStorage(tracking_uri)
2- study = optuna.create_study(study_name="optimization", storage=storage, sampler=sampler, direction="maximize", pruner=pruner, load_if_exists=True)
3- run the optimization
Environment
- Optuna version: 2.9.1
- Python version: 3.9
- OS: pop-os
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
@nzw0301 ohhhh it worked, that was not clear to as i wanted optuna to use the same trials in mlflow. thank you so much. i really appreciate your help.
Brilliant! I think you need to use a different
tracking_uri
to save optuna’s study because the same URI is used for mlflow’s tracking, where the DB schema is for mlflow; not for Optuna.