+86-18555129021
contact@oakchina.cn

【44】Mask is not defined for output layer with width ‘52’. Define at pipeline build time using:’ setAnchorMasks’ for’ side52’

【44】Mask is not defined for output layer with width ‘52’. Define at pipeline build time using:’ setAnchorMasks’ for’ side52’

报错提示:

Mask is not defined for output layer with width ‘52’. Define at pipeline build time using:’ setAnchorMasks’ for’ side52’

解决方法:

如果你是用的YoloV5可以参考这篇博客设置参数。

其他如YoloX/V6/V7/V8,请在这个系列的博客里查看对应博客,最后都有说明如何设置这个参数的。

没提到的yolo版本,请到GitHub找他们官方出的文件查看如何设置。