Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'? #222

Open
Garv62003 opened this issue May 22, 2024 · 0 comments

Comments

@Garv62003
Copy link

/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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant