/root/share/pytorch/tools/cfgs/kitti_models/pointpillar_multihead.yaml
/root/share/pytorch/pcdet/config.py:76: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
new_config = yaml.load(f)
Traceback (most recent call last):
File "train.py", line 199, in
main()
File "train.py", line 59, in main
args, cfg = parse_config()
File "train.py", line 48, in parse_config
cfg_from_yaml_file(args.cfg_file, cfg)
File "/root/share/pytorch/pcdet/config.py", line 77, in cfg_from_yaml_file
merge_new_config(config=config, new_config=new_config)
File "/root/share/pytorch/pcdet/config.py", line 52, in merge_new_config
if '_BASECONFIG' in new_config:
TypeError: argument of type 'NoneType' is not iterable
root@9d0d5c916bcc:~/share/pytorch/tools# python train.py --cfg_file=/root/share/pytorch/tools/cfgs/kitti_models/pointpillar_multihead.yaml
/root/share/pytorch/tools/cfgs/kitti_models/pointpillar_multihead.yaml /root/share/pytorch/pcdet/config.py:76: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. new_config = yaml.load(f) Traceback (most recent call last): File "train.py", line 199, in
main()
File "train.py", line 59, in main
args, cfg = parse_config()
File "train.py", line 48, in parse_config
cfg_from_yaml_file(args.cfg_file, cfg)
File "/root/share/pytorch/pcdet/config.py", line 77, in cfg_from_yaml_file
merge_new_config(config=config, new_config=new_config)
File "/root/share/pytorch/pcdet/config.py", line 52, in merge_new_config
if '_BASECONFIG' in new_config:
TypeError: argument of type 'NoneType' is not iterable
请问用您代码中提供的pointpillars_multihead.yaml训练 出现这样的错误如何解决?