mirror of
https://github.com/RootKit-Org/AI-Aimbot.git
synced 2025-06-21 02:41:01 +08:00
won't use cp unless using nvidia
This commit is contained in:
parent
f85496859a
commit
9583a6b58a
@ -1,6 +1,5 @@
|
||||
import onnxruntime as ort
|
||||
import numpy as np
|
||||
import cupy as cp
|
||||
import gc
|
||||
import numpy as np
|
||||
import cv2
|
||||
@ -32,6 +31,7 @@ def main():
|
||||
elif onnxChoice == 2:
|
||||
onnxProvider = "DmlExecutionProvider"
|
||||
elif onnxChoice == 3:
|
||||
import cupy as cp
|
||||
onnxProvider = "CUDAExecutionProvider"
|
||||
|
||||
so = ort.SessionOptions()
|
||||
|
Loading…
x
Reference in New Issue
Block a user