Object detection with multi-level representations generated from deep high-resolution representation learning (HRNetV2h). This is an official implementation for our TPAMI paper "Deep High-Resolution Representation Learning for Visual Recognition". https://arxiv.org/abs/1908.07919
Apache License 2.0
644
stars
97
forks
source link
When I follow your instruction to run the train.py, the problem happened.Can you give me some advice to resolve it? #39
Traceback (most recent call last):
File "tools/train.py", line 95, in
main()
File "tools/train.py", line 47, in main
cfg = Config.fromfile(args.config)
File "/root/virtualenv/anaconda3/lib/python3.6/site-packages/mmcv/utils/config.py", line 152, in fromfile
cfg_dict, cfg_text = Config._file2dict(filename)
File "/root/virtualenv/anaconda3/lib/python3.6/site-packages/mmcv/utils/config.py", line 91, in _file2dict
mod = import_module('_tempconfig')
File "/root/virtualenv/anaconda3/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/tmp/tmpfnqvr765/_tempconfig.py", line 6
backbone=dict(
^
SyntaxError: invalid syntax
Traceback (most recent call last): File "tools/train.py", line 95, in
main()
File "tools/train.py", line 47, in main
cfg = Config.fromfile(args.config)
File "/root/virtualenv/anaconda3/lib/python3.6/site-packages/mmcv/utils/config.py", line 152, in fromfile
cfg_dict, cfg_text = Config._file2dict(filename)
File "/root/virtualenv/anaconda3/lib/python3.6/site-packages/mmcv/utils/config.py", line 91, in _file2dict
mod = import_module('_tempconfig')
File "/root/virtualenv/anaconda3/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/tmp/tmpfnqvr765/_tempconfig.py", line 6
backbone=dict(
^
SyntaxError: invalid syntax