mirror of
https://github.com/WongKinYiu/yolov7.git
synced 2025-06-03 21:54:57 +08:00
Update add_nms.py
This commit is contained in:
parent
a5b853c3fa
commit
aae70703f7
@ -1,7 +1,11 @@
|
||||
import numpy as np
|
||||
import onnx
|
||||
from onnx import shape_inference
|
||||
import onnx_graphsurgeon as gs
|
||||
try:
|
||||
import onnx_graphsurgeon as gs
|
||||
except Exception as e:
|
||||
print('Import onnx_graphsurgeon failure: %s' % e)
|
||||
|
||||
import logging
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user