You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "tools/train.py", line 144, in
main()
File "tools/train.py", line 69, in main
cfg = Config.fromfile(args.config)
File "/Users/youyin/Documents/人工智能研究项目/keypoint/yolodet-pytorch/yolodet/utils/config.py", line 173, in fromfile
cfg_dict, cfg_text = Config._file2dict(filename)
File "/Users/youyin/Documents/人工智能研究项目/keypoint/yolodet-pytorch/yolodet/utils/config.py", line 113, in _file2dict
mod = import_module('_tempconfig')
File "/Users/youyin/anaconda3/envs/yolodet/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/var/folders/l8/b9v1kgkd6nz9hl__21wh79hm0000gn/T/tmp0dmyw5s2/_tempconfig.py", line 37
bbox_loss=dict(type='IOU_Loss', iou_type='GIOU',loss_weight=0.05),
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
你好 @wuzhihao7788
我在mac上训练报错,
Traceback (most recent call last):
File "tools/train.py", line 144, in
main()
File "tools/train.py", line 69, in main
cfg = Config.fromfile(args.config)
File "/Users/youyin/Documents/人工智能研究项目/keypoint/yolodet-pytorch/yolodet/utils/config.py", line 173, in fromfile
cfg_dict, cfg_text = Config._file2dict(filename)
File "/Users/youyin/Documents/人工智能研究项目/keypoint/yolodet-pytorch/yolodet/utils/config.py", line 113, in _file2dict
mod = import_module('_tempconfig')
File "/Users/youyin/anaconda3/envs/yolodet/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/var/folders/l8/b9v1kgkd6nz9hl__21wh79hm0000gn/T/tmp0dmyw5s2/_tempconfig.py", line 37
bbox_loss=dict(type='IOU_Loss', iou_type='GIOU',loss_weight=0.05),
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: