Update add_nms.py
This commit is contained in:
+5
-1
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user