TypeError: __init__() got an unexpected keyword argument 'log_dir'
Hello, after I run
python upsnet/upsnet_end2end_train.py --cfg upsnet/experiments/upsnet_resnet50_coco_4gpu.yaml
I got
upsnet/../upsnet/config/config.py:180: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
exp_config = edict(yaml.load(f))
Traceback (most recent call last):
File "upsnet/upsnet_end2end_train.py", line 56, in
Could you tell me how to solve this problem? Thank you.
When I delete "logdir=" in line 56 of File "upsnet/upsnet_end2end_train.py", it disappears.
you can just try tensorboardX==1.6
I think 'log_dir' is used in the old versions of tensorboardX. Switching that with 'logdir' works for me.