PB Unity commited on
Commit
79d5148
·
verified ·
1 Parent(s): b8dd787

Update RunBlazeFace.cs

Browse files
Files changed (1) hide show
  1. RunBlazeFace.cs +2 -2
RunBlazeFace.cs CHANGED
@@ -277,10 +277,10 @@ public class RunBlazeFace : MonoBehaviour
277
 
278
  var NM1 = worker.PeekOutput("NMS") as TensorInt;
279
 
280
- using var boxCoords2 = boxCoords.ShallowReshape(boxCoords.shape.Unsqueeze(0)) as TensorFloat;
281
  using var output = ops.GatherND(boxCoords2, NM1, 0);
282
 
283
- using var regressors2 = regressors.ShallowReshape(regressors.shape.Unsqueeze(0)) as TensorFloat;
284
  using var markersOutput = ops.GatherND(regressors2, NM1, 0);
285
 
286
  output.MakeReadable();
 
277
 
278
  var NM1 = worker.PeekOutput("NMS") as TensorInt;
279
 
280
+ using var boxCoords2 = ops.Reshape(boxCoords, boxCoords.shape.Unsqueeze(0));
281
  using var output = ops.GatherND(boxCoords2, NM1, 0);
282
 
283
+ using var regressors2 = ops.Reshape(regressors,regressors.shape.Unsqueeze(0));
284
  using var markersOutput = ops.GatherND(regressors2, NM1, 0);
285
 
286
  output.MakeReadable();