forked from mindspore-Ecosystem/mindspore
limit cv thread num.
This commit is contained in:
parent
acd896cdea
commit
db1e522e2d
|
@ -16,6 +16,7 @@
|
||||||
import cv2
|
import cv2
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import mindspore.dataset as de
|
import mindspore.dataset as de
|
||||||
|
cv2.setNumThreads(0)
|
||||||
|
|
||||||
|
|
||||||
class SegDataset:
|
class SegDataset:
|
||||||
|
|
Loading…
Reference in New Issue