Skip to content

Commit

Permalink
Merge branch 'opt'
Browse files Browse the repository at this point in the history
  • Loading branch information
curegit committed Mar 1, 2023
2 parents 604cd7f + 9fc2b05 commit 4183d96
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utilities/chainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ def config_train():
global_config.autotune = True
global_config.cudnn_deterministic = False

def config_valid():
def config_valid(faster=False):
global_config.train = False
global_config.autotune = True
global_config.cudnn_deterministic = True
global_config.cudnn_deterministic = not faster
global_config.enable_backprop = False
global_config.type_check = not faster

0 comments on commit 4183d96

Please sign in to comment.