ultralytics 8.1.47 PNNX release 20240226 (#9954)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
cd5fac773b
commit
42416bc608
3 changed files with 9 additions and 12 deletions
|
|
@ -540,7 +540,8 @@ class AutoBackend(nn.Module):
|
|||
mat_in = self.pyncnn.Mat(im[0].cpu().numpy())
|
||||
with self.net.create_extractor() as ex:
|
||||
ex.input(self.net.input_names()[0], mat_in)
|
||||
y = [np.array(ex.extract(x)[1])[None] for x in self.net.output_names()]
|
||||
# WARNING: 'output_names' sorted as a temporary fix for https://github.com/pnnx/pnnx/issues/130
|
||||
y = [np.array(ex.extract(x)[1])[None] for x in sorted(self.net.output_names())]
|
||||
|
||||
# NVIDIA Triton Inference Server
|
||||
elif self.triton:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue