This commit is contained in:
discountchubbs
2026-08-10 13:25:09 -07:00
parent 29297bcf59
commit 3b13e81414
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -353,7 +353,8 @@ def main(demo=False):
model = None
if USBGPU:
import threading
def load(): nonlocal model; model = ModelState(cam_w=vipc_client_main.width, cam_h=vipc_client_main.height)
def load(): nonlocal model
model = ModelState(cam_w=vipc_client_main.width, cam_h=vipc_client_main.height)
t = threading.Thread(target=load, daemon=True)
t.start()
t.join(60)
@@ -4,8 +4,6 @@ Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors.
This file is part of sunnypilot and is licensed under the MIT License.
See the LICENSE.md file in the root directory for more details.
"""
import pickle
import pytest
import openpilot.sunnypilot.models.helpers as helpers