From 17cf4252e7953b790660e9e0c6f8f275734a5ea1 Mon Sep 17 00:00:00 2001 From: NodeMixaholic Date: Sat, 14 Jan 2023 18:52:16 -0600 Subject: [PATCH] Update aimbot.py --- aimbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aimbot.py b/aimbot.py index a9ee388..73a38a5 100644 --- a/aimbot.py +++ b/aimbot.py @@ -7,7 +7,8 @@ import cv2 import math import time -detector = hub.load("https://tfhub.dev/tensorflow/centernet/resnet50v1_fpn_512x512/1") +dirname = os.path.dirname(__file__) +detector = tf.saved_model.load(dirname) size_scale = 3 while True: