Не могу включить камер в DeepFaceLive

Running DeepFaceLive.

CameraSource error: module 'numpy' has no attribute 'int'. np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Traceback (most recent call last): File "C:\Program Files (x86)\DeepFaceLive-master\xlib\mp\csw\CSWBase.py", line 472, in _start_proc self.on_start(*worker_start_args, **worker_start_kwargs) File "C:\Program Files (x86)\DeepFaceLive-master\apps\DeepFaceLive\backend\CameraSource.py", line 142, in on_start cs.fps.set_number(state.fps if state.fps is not None else 0) File "C:\Program Files (x86)\DeepFaceLive-master\xlib\mp\csw\Number.py", line 44, in set_number if self._set_number(number, block_event=block_event): File "C:\Program Files (x86)\DeepFaceLive-master\xlib\mp\csw\Number.py", line 21, in set_number if isinstance(number, (int, np.int, np.int8, np.int16, np.int32, np.int64)): File "D:\anaconda\envs\DeepFaceLife\lib\site-packages\numpy_init.py", line 352, in getattr raise AttributeError(former_attrs[attr]) AttributeError: module 'numpy' has no attribute 'int'. np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations


Ответы (0 шт):