Skip to content

Commit

Permalink
fix: typo (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
makaveli10 authored Nov 11, 2020
1 parent 983fba2 commit 6adbe35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yolov5/yolov5_trt.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def infer(self, input_image_path):
#  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()

Expand Down Expand Up @@ -317,5 +317,5 @@ def run(self):
thread1.start()
thread1.join()

# destory the instance
yolov5_wrapper.destory()
# destroy the instance
yolov5_wrapper.destroy()

0 comments on commit 6adbe35

Please sign in to comment.