Skip to content

Commit e66539e

Browse files
authored
disable run_epoch_in_child_process in default (#901)
1 parent 6f8918d commit e66539e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

efficientdet/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111

112112
# for train_and_eval mode
113113
flags.DEFINE_bool(
114-
'run_epoch_in_child_process', True,
114+
'run_epoch_in_child_process', False,
115115
'This option helps to rectify CPU memory leak. If True, every epoch is '
116116
'run in a separate process for train and eval and memory will be cleared.'
117117
'Drawback: need to kill 2 processes if trainining needs to be interrupted.')

0 commit comments

Comments
 (0)