Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with newest mmcv version #94

Open
hachreak opened this issue Aug 27, 2020 · 1 comment · May be fixed by #95
Open

Incompatibility with newest mmcv version #94

hachreak opened this issue Aug 27, 2020 · 1 comment · May be fixed by #95

Comments

@hachreak
Copy link

python tools/train_retriever.py --config configs/retriever_consumer_to_shop/roi_retriever_vgg.py

If I try to run training with newest mmcv(-full) version, the script return this error:

Traceback (most recent call last):
  File "tools/train_retriever.py", line 85, in <module>
    main()
  File "tools/train_retriever.py", line 81, in main
    logger=logger)
  File "/home/hachreak/projects/mmfashion/mmfashion/apis/train_retriever.py", line 54, in train_retriever
    _non_dist_train(model, dataset, cfg, validate=validate)
  File "/home/hachreak/projects/mmfashion/mmfashion/apis/train_retriever.py", line 79, in _non_dist_train
    cfg.log_level)
  File "/home/hachreak/projects/mmcv/mmcv/runner/epoch_based_runner.py", line 174, in __init__
    super().__init__(*args, **kwargs)
  File "/home/hachreak/projects/mmcv/mmcv/runner/base_runner.py", line 89, in __init__
    raise TypeError(f'logger must be a logging.Logger object, '
TypeError: logger must be a logging.Logger object, but got <class 'str'>
@hachreak hachreak linked a pull request Aug 27, 2020 that will close this issue
@interestingzhuo
Copy link

I meet the same problem, how did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants