Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdetection3d
Commits
3fa5a430
Commit
3fa5a430
authored
May 25, 2022
by
ZCMax
Committed by
ChaimZhu
Jul 20, 2022
Browse files
Update default runtime in config
parent
8282f10c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
20 deletions
+19
-20
configs/_base_/default_runtime.py
configs/_base_/default_runtime.py
+19
-20
No files found.
configs/_base_/default_runtime.py
View file @
3fa5a430
checkpoint_config
=
dict
(
interval
=
1
)
default_scope
=
'mmdet3d'
# yapf:disable push
# By default we use textlogger hook and tensorboard
default_hooks
=
dict
(
# For more loggers see
optimizer
=
dict
(
type
=
'OptimizerHook'
,
grad_clip
=
None
),
# https://mmcv.readthedocs.io/en/latest/api.html#mmcv.runner.LoggerHook
timer
=
dict
(
type
=
'IterTimerHook'
),
log_config
=
dict
(
logger
=
dict
(
type
=
'LoggerHook'
,
interval
=
50
),
interval
=
50
,
param_scheduler
=
dict
(
type
=
'ParamSchedulerHook'
),
hooks
=
[
checkpoint
=
dict
(
type
=
'CheckpointHook'
,
interval
=
1
),
dict
(
type
=
'TextLoggerHook'
),
sampler_seed
=
dict
(
type
=
'DistSamplerSeedHook'
),
dict
(
type
=
'TensorboardLoggerHook'
)
)
])
# yapf:enable
env_cfg
=
dict
(
dist_params
=
dict
(
backend
=
'nccl'
)
cudnn_benchmark
=
False
,
mp_cfg
=
dict
(
mp_start_method
=
'fork'
,
opencv_num_threads
=
0
),
dist_cfg
=
dict
(
backend
=
'nccl'
),
)
log_level
=
'INFO'
log_level
=
'INFO'
work_dir
=
None
load_from
=
None
load_from
=
None
resume_from
=
None
resume
=
False
workflow
=
[(
'train'
,
1
)]
# disable opencv multithreading to avoid system being overloaded
# TODO: support auto scaling lr
opencv_num_threads
=
0
# set multi-process start method as `fork` to speed up the training
mp_start_method
=
'fork'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment