From 6adbe35a4b24bce2cfb1a0103b11fd4b6707e8e2 Mon Sep 17 00:00:00 2001 From: Makaveli <39617050+makaveli10@users.noreply.github.com> Date: Wed, 11 Nov 2020 07:12:00 +0530 Subject: [PATCH] fix: typo (#280) --- yolov5/yolov5_trt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yolov5/yolov5_trt.py b/yolov5/yolov5_trt.py index a82265f..5bf9707 100644 --- a/yolov5/yolov5_trt.py +++ b/yolov5/yolov5_trt.py @@ -158,7 +158,7 @@ class YoLov5TRT(object): #  Save image cv2.imwrite(save_name, image_raw) - def destory(self): + def destroy(self): # Remove any context from the top of the context stack, deactivating it. self.cfx.pop() @@ -317,5 +317,5 @@ if __name__ == "__main__": thread1.start() thread1.join() - # destory the instance - yolov5_wrapper.destory() + # destroy the instance + yolov5_wrapper.destroy()