FIX: Numpy >= 1.24.x has no attribute 'warnings'
This commit is contained in:
parent
0c89ad3ef4
commit
71b00f1809
@ -14,6 +14,9 @@ from modules.face_restoration import FaceRestoration
|
||||
from modules.upscaler import UpscalerData
|
||||
from scripts.logger import logger
|
||||
|
||||
import warnings
|
||||
|
||||
np.warnings = warnings
|
||||
np.warnings.filterwarnings('ignore')
|
||||
|
||||
providers = onnxruntime.get_available_providers()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user