Skip to content

Commit

Permalink
Revert "remove self._probs in initialize"
Browse files Browse the repository at this point in the history
This reverts commit 013a8bf.
  • Loading branch information
KumoLiu committed Mar 1, 2024
1 parent cf74488 commit 84e7629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/python_bundle_workflow/scripts/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, dataset_dir: str = "."):
self.dataset_dir = dataset_dir

def initialize(self):
pass
self.props = {}

def run(self):
self.evaluator.run()
Expand Down
1 change: 1 addition & 0 deletions bundle/python_bundle_workflow/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def __init__(self, dataset_dir: str = "."):

def initialize(self):
set_determinism(0)
self.props = {}

def run(self):
self.trainer.run()
Expand Down

0 comments on commit 84e7629

Please sign in to comment.