Skip to content

Commit

Permalink
fix YOLOV5Head naming
Browse files Browse the repository at this point in the history
  • Loading branch information
irexyc committed Jan 16, 2023
1 parent 41d806d commit 6a43488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion csrc/mmdeploy/codebase/mmdet/yolo_head.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,6 @@ std::array<float, 4> YOLOV5Head::yolo_decode(float box_x, float box_y, float box
}

MMDEPLOY_REGISTER_CODEBASE_COMPONENT(MMDetection, YOLOV3Head);
MMDEPLOY_REGISTER_CODEBASE_COMPONENT(MMDetection, YOLOv5Head);
MMDEPLOY_REGISTER_CODEBASE_COMPONENT(MMDetection, YOLOV5Head);

} // namespace mmdeploy::mmdet
2 changes: 1 addition & 1 deletion csrc/mmdeploy/codebase/mmdet/yolo_head.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class YOLOV3Head : public YOLOHead {
int a) const override;
};

class YOLOv5Head : public YOLOHead {
class YOLOV5Head : public YOLOHead {
public:
using YOLOHead::YOLOHead;
std::array<float, 4> yolo_decode(float box_x, float box_y, float box_w, float box_h, float stride,
Expand Down

0 comments on commit 6a43488

Please sign in to comment.