Description
/usr/local/lib/python3.12/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/usr/local/lib/python3.12/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or None
for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=None
.
warnings.warn(msg)
creating the FLAME Decoder
Traceback (most recent call last):
File "/content/drive/MyDrive/DECA/demos/demo_reconstruct.py", line 131, in
main(parser.parse_args())
File "/content/drive/MyDrive/DECA/demos/demo_reconstruct.py", line 46, in main
deca = DECA(config = deca_cfg, device=device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/content/drive/MyDrive/DECA/decalib/deca.py", line 49, in init
self._create_model(self.cfg.model)
File "/content/drive/MyDrive/DECA/decalib/deca.py", line 81, in _create_model
self.flame = FLAME(model_cfg).to(self.device)
^^^^^^^^^^^^^^^^
File "/content/drive/MyDrive/DECA/decalib/models/FLAME.py", line 47, in init
ss = pickle.load(f, encoding='latin1')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/chumpy/init.py", line 1, in
from .ch import *
File "/usr/local/lib/python3.12/site-packages/chumpy/ch.py", line 1319, in
from . import linalg
File "/usr/local/lib/python3.12/site-packages/chumpy/linalg.py", line 178, in
class SvdD(Ch):
File "/usr/local/lib/python3.12/site-packages/chumpy/linalg.py", line 181, in SvdD
@depends_on('x')
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/chumpy/ch.py", line 1203, in _depends_on
want_out = 'out' in inspect.getargspec(func).args
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
how to Solve the error ?