Skip to content

Commit 65f3cd0

Browse files
committed
🔧 change github action trigger event, small fix optuna
1 parent c8287ee commit 65f3cd0

File tree

5 files changed

+2
-19
lines changed

5 files changed

+2
-19
lines changed

.github/workflows/clf.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: autobuild_clf
22
on:
33
push:
4-
branches:
5-
- dev
6-
pull_request:
74
branches:
85
- master
96
- 'V**'
@@ -58,11 +55,4 @@ jobs:
5855
echo "Leaderboard" >> report.md
5956
cat runs/optuna/clf/overview/leaderboard.json | md-table >> report.md
6057
echo >> report.md
61-
echo "Figures" >> report.md
62-
echo "![History](runs/optuna/clf/overview/history.png)" >> report.md
63-
echo "![Contour plot](runs/optuna/clf/overview/contour.png)" >> report.md
64-
echo "![Parallel](runs/optuna/clf/overview/parallel_coordinate.png)" >> report.md
65-
echo "![Importance](runs/optuna/clf/overview/param_importances.png)" >> report.md
66-
echo "![Slice](runs/optuna/clf/overview/slice.png)" >> report.md
67-
6858
cml comment create report.md

.github/workflows/docker.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: autobuild_docker
22
on:
3-
push:
4-
branches:
5-
- dev
63
pull_request:
74
branches:
85
- master

.github/workflows/segm.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: autobuild_segm
22
on:
33
push:
4-
branches:
5-
- dev
6-
pull_request:
74
branches:
85
- master
96
- 'V**'

.github/workflows/tablr.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: autobuild_tablr
22
on:
33
push:
4-
branches:
5-
- dev
6-
pull_request:
74
branches:
85
- master
96
- 'V**'

theseus/base/utilities/optuna_tuner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ def _rename_params(self):
186186
trials = self.study.get_trials(deepcopy=False)
187187
for trial in trials:
188188
trial_param_names = list(trial.params.keys())
189+
if len(trial_param_names) == 1:
190+
break
189191
common_prefix = osp.commonprefix(trial_param_names)
190192
if common_prefix != "":
191193
for trial_param_name in trial_param_names:

0 commit comments

Comments
 (0)