Skip to content

Commit

Permalink
fixed config
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed Jun 18, 2024
1 parent 0abc385 commit 760d5d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions algo/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ def __init__(self, d, **kwargs):
if self.init_phase_level == '':
self.init_phase_level = 'd'

if self.retrain_interval != '':
self.retrain_interval = float(self.retrain_interval)
if self.train_interval != '':
self.train_interval = float(self.train_interval)
else:
self.retrain_interval = 14
self.train_interval = 14

if self.retrain_level == '':
self.retrain_level = 'd'
if self.train_level == '':
self.train_level = 'd'

class Operator(OperatorBase):
configType = CustomConfig
Expand Down

0 comments on commit 760d5d5

Please sign in to comment.