Is there a possibility to specific GetLayer using OpenCvSharp?
var net = CvDnn.ReadNetFromTensorflow(path);
// Set the number of groups
int ngroups = 1; // specify the number of groups here
foreach (Layer layer in net.GetLayers())
{
if (layer.Type == "Convolution")
{
LayerParams layerParams = layer.GetParams();
layerParams.SetInt("group", ngroups);
layer.SetParams(layerParams);
}
}