Skip to content

Instantly share code, notes, and snippets.

@Paulescu
Created March 4, 2022 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Paulescu/7c5b79b774936815e01aa8fdd320bbff to your computer and use it in GitHub Desktop.
Save Paulescu/7c5b79b774936815e01aa8fdd320bbff to your computer and use it in GitHub Desktop.
import optuna
from src.config import OPTUNA_DB
study = optuna.create_study(
study_name=EXPERIMENT_NAME,
direction='maximize',
load_if_exists=True,
storage=f'sqlite:///{OPTUNA_DB}'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment