关于yolov4
Created by: lxk767363331
问题1: 环境python3.7 pp 1.8.0 执行 export CUDA_VISIBLE_DEVICES=0 python -u tools/train.py -c configs/yolov4/yolov4_cspdarknet_voc.yml --eval 报错: ‘’‘’ 2020-08-12 12:03:59,721-WARNING: paddle.fluid.layers.matrix_nms OP not found, maybe a newer version of paddle is required. Traceback (most recent call last): File "tools/train.py", line 368, in main() File "tools/train.py", line 114, in main train_fetches = model.train(feed_vars) File "/home/aistudio/PaddleDetection/ppdet/modeling/architectures/yolo.py", line 159, in train return self.build(feed_vars, mode='train') File "/home/aistudio/PaddleDetection/ppdet/modeling/architectures/yolo.py", line 85, in build gt_score, targets) File "/home/aistudio/PaddleDetection/ppdet/modeling/anchor_heads/yolo_head.py", line 401, in get_loss self.prefix_name) File "/home/aistudio/PaddleDetection/ppdet/modeling/losses/yolo_loss.py", line 69, in call mask_anchors, self._ignore_thresh) File "/home/aistudio/PaddleDetection/ppdet/modeling/losses/yolo_loss.py", line 191, in _get_fine_grained_loss num_classes, downsample, self._ignore_thresh, scale_x_y) File "/home/aistudio/PaddleDetection/ppdet/modeling/losses/yolo_loss.py", line 316, in _calc_obj_loss scale_x_y=scale_x_y) TypeError: yolo_box() got an unexpected keyword argument 'scale_x_y' ‘’‘’ 请问怎么解决?