2020-12-28

跑通Det3D遇到的问题:
1.AssertionError: Requested unknown configuration cvpr_2019。问题是 cfg_path = os.path.join(this_dir, ‘configs’, ‘%s.json’ % configuration_name) configuration_name不知道哪个文件里面的,全面了解文件后再解答

  File "/home/zz/.conda/envs/CenterTrack/lib/python3.6/site-packages/nuscenes/eval/detection/config.py", line 25, in config_factory
    'Requested unknown configuration {}'.format(configuration_name)

原代码

  File "/home/zz/.conda/envs/CenterTrack/lib/python3.6/site-packages/nuscenes/eval/detection/config.py", line 25, in config_factory
    'Requested unknown configuration {}'.format(configuration_name)

改后代码

    this_dir = os.path.dirname(os.path.abspath(__file__))
    #cfg_path = os.path.join(this_dir, 'configs', '%s.json' % configuration_name)
    cfg_path = os.path.join(this_dir, 'configs', 'detection_cvpr_2019.json')

2.AssertionError: Samples in split doesn’t match samples in predictions.使用v1.0_mini数据跑。

报错:

  File "/home/zz/.conda/envs/CenterTrack/lib/python3.6/site-packages/nuscenes/eval/detection/evaluate.py", line 85, in __init__
    "Samples in split doesn't match samples in predictions."
AssertionError: Samples in split doesn't match samples in predictions

报错代码:


   assert set(self.pred_boxes.sample_tokens) == set(self.gt_boxes.sample_tokens), \
        "Samples in split doesn't match samples in predictions."
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值