mmdetection/configs/_base_/default_runtime.py
在default_runtime.py
中加入
log_config = dict(
interval=50,
hooks=[
# dict(type='TextLoggerHook'),
# dict(type='TensorboardLoggerHook'),
dict(
type='WandbLoggerHook',
init_kwargs=dict(
project='proj_name',
name='user_name'
)
)
])