Update add_nms.py

pull/314/head
Alexey 2022-07-23 04:54:18 +03:00 committed by GitHub
parent a5b853c3fa
commit aae70703f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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__)