mirror of
https://github.com/RootKit-Org/AI-Aimbot.git
synced 2025-06-21 02:41:01 +08:00
Update main_onnx_amd.py (#74)
This commit is contained in:
parent
57513001ac
commit
f3bd0cea5a
@ -116,7 +116,7 @@ def main():
|
|||||||
if len(im.shape) == 3:
|
if len(im.shape) == 3:
|
||||||
im = im[None]
|
im = im[None]
|
||||||
|
|
||||||
outputs = ort_sess.run(None, {'images': npImg})
|
outputs = ort_sess.run(None, {'images': im})
|
||||||
|
|
||||||
im = torch.from_numpy(outputs[0]).to('cpu')
|
im = torch.from_numpy(outputs[0]).to('cpu')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user