forked from mindspore-Ecosystem/mindspore
!10940 fix centernet data preprocess is slow
From: @caojian05 Reviewed-by: @wuxuejian,@oacjiewen Signed-off-by: @wuxuejian
This commit is contained in:
commit
f4b256d470
|
@ -31,6 +31,7 @@ from src.image import gaussian_radius, draw_umich_gaussian, draw_msra_gaussian,
|
|||
from src.visual import visual_image
|
||||
|
||||
_current_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
cv2.setNumThreads(0)
|
||||
|
||||
|
||||
class COCOHP(ds.Dataset):
|
||||
|
|
Loading…
Reference in New Issue