Open MABatin opened 1 year ago
Hello !
Can you try first to create a project in https://wandb.ai/new-project , and define in your config a simple pipeline such as:
log_config = dict(
interval=1,
hooks=[
dict(type='TextLoggerHook'),
dict(
type='MMDetWandbHook',
init_kwargs={'entity': "ENTITY", # The entity used to log on Wandb
'project': "PROJECT", # Project name in WandB
},
interval=1,
num_eval_images=15,
bbox_score_thr=0.5,
log_checkpoint=False,
log_checkpoint_metadata=False)])
With ENTITY and PROJECT variable corresponding to the one created on the wandb.ai website ? It should work, but maybe there is a cleaner way to do it in MMDetection implementation of MMDetWandbHook...
Prerequisite
Task
I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
Reproduces the problem - code sample
Reproduces the problem - command or script
Reproduces the problem - error message
There's no error but the TextLoggerHook is logging the following metrics for train epoch and val epoch respectively.
Additional information
I expected MMDetWandbHook to log all the metrics the texloggerhook would log.
MMDetWandbHook is not logging the train/loss metric neither it is logging the validation loss metrics.
I'm not sure what might be the reason for this.