Skip to content

Commit 580a35b

Browse files
committed
update example.
1 parent ec5b6ef commit 580a35b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/comet.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
examples:
1313
if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')
1414
runs-on: ubuntu-latest
15-
env:
16-
COMET_MODE: offline
1715
strategy:
1816
matrix:
1917
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

comet/comet_callback.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
# Log the project name
3434
experiment.set_name("comet-optuna-example")
3535

36+
experiment = comet_ml.start(online=False)
37+
3638
# Load dataset
3739
random_state = 42
3840
cancer = load_breast_cancer()

0 commit comments

Comments
 (0)