Fix YOLOv5 accuracy

This commit is contained in:
unknown
2022-02-09 12:55:24 -03:00
parent d9c3cbf41d
commit 5b9b1f77c8
3 changed files with 7 additions and 13 deletions

View File

@@ -156,7 +156,7 @@ nvinfer1::ILayer* convolutionalLayer(
}
for (int i = 0; i < filters; ++i)
{
bnRunningVar.push_back(sqrt(weights[weightPtr] + 1.0e-5));
bnRunningVar.push_back(sqrt(weights[weightPtr] + 1.0e-3));
weightPtr++;
}
trtWeights.push_back(convWt);