Skip to content

Commit

Permalink
add config for yolov5-x
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiquanYu authored and zhiqwang committed Dec 29, 2021
1 parent 5dc8996 commit 0934555
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yolort/v5/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def get_yolov5_size(depth_multiple, width_multiple):
return "m"
if depth_multiple == 1.0 and width_multiple == 1.0:
return "l"
if depth_multiple == 1.33 and width_multiple == 1.25:
return "x"
raise NotImplementedError(
f"Currently does't support architecture with depth: {depth_multiple} "
f"and {width_multiple}, fell free to create a ticket labeled enhancement to us"
Expand Down

0 comments on commit 0934555

Please sign in to comment.