Fix YOLOv7 eps
This commit is contained in:
@@ -166,7 +166,7 @@ NvDsInferStatus Yolo::buildYoloNetwork(std::vector<float>& weights, nvinfer1::IN
|
|||||||
weightsType = "wts";
|
weightsType = "wts";
|
||||||
|
|
||||||
float eps = 1.0e-5;
|
float eps = 1.0e-5;
|
||||||
if (m_NetworkType.find("yolov5") != std::string::npos)
|
if (m_NetworkType.find("yolov5") != std::string::npos || m_NetworkType.find("yolov7") != std::string::npos)
|
||||||
eps = 1.0e-3;
|
eps = 1.0e-3;
|
||||||
else if (m_NetworkType.find("yolor") != std::string::npos)
|
else if (m_NetworkType.find("yolor") != std::string::npos)
|
||||||
eps = 1.0e-4;
|
eps = 1.0e-4;
|
||||||
|
|||||||
Reference in New Issue
Block a user