Spaces:
Running
on
A10G
Running
on
A10G
Runtime error on startup of duplication
#13
by
trunet
- opened
I used it last night no problem, then today I restarted my build and I get this error. Ive tried restarting, rebooting and duplicating again but all the same.
Any help will be much appreciated :) awesome space thank you.
Runtime error
Traceback (most recent call last):
File "/home/user/app/app.py", line 4, in <module>
from src.gradio_demo import SadTalker
File "/home/user/app/src/gradio_demo.py", line 3, in <module>
from src.facerender.pirender_animate import AnimateFromCoeff_PIRender
File "/home/user/app/src/facerender/pirender_animate.py", line 2, in <module>
import cv2
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/__init__.py", line 175, in bootstrap
if __load_extra_py_code_for_module("cv2", submodule, DEBUG):
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/__init__.py", line 28, in __load_extra_py_code_for_module
py_module = importlib.import_module(module_name)
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/typing/__init__.py", line 69, in <module>
NumPyArrayGeneric = numpy.ndarray[typing.Any, numpy.dtype[numpy.generic]]
TypeError: 'numpy._DTypeMeta' object is not subscriptable
Container logs:
===== Application Startup at 2023-08-16 22:01:42 =====
Traceback (most recent call last):
File "/home/user/app/app.py", line 4, in <module>
from src.gradio_demo import SadTalker
File "/home/user/app/src/gradio_demo.py", line 3, in <module>
from src.facerender.pirender_animate import AnimateFromCoeff_PIRender
File "/home/user/app/src/facerender/pirender_animate.py", line 2, in <module>
import cv2
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/__init__.py", line 175, in bootstrap
if __load_extra_py_code_for_module("cv2", submodule, DEBUG):
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/__init__.py", line 28, in __load_extra_py_code_for_module
py_module = importlib.import_module(module_name)
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/user/.pyenv/versions/3.10.12/lib/python3.10/site-packages/cv2/typing/__init__.py", line 69, in <module>
NumPyArrayGeneric = numpy.ndarray[typing.Any, numpy.dtype[numpy.generic]]
TypeError: 'numpy._DTypeMeta' object is not subscriptable
same issue
same
Same issue