DirtyHarryLYL / DJ-RN

As a part of HAKE project (HAKE-3D). Code for our CVPR2020 paper "Detailed 2D-3D Joint Representation for Human-Object Interaction".
Apache License 2.0
100 stars 13 forks source link

<lambda>() takes 1 positional argument but 2 were given #78

Closed yyvhang closed 1 year ago

yyvhang commented 1 year ago

Hi, when I run the demo.ipynb, to read the 'equation-root1.pkl', I got the error: () takes 1 positional argument but 2 were given. Could you please explain what's the data in ''equation-root1.pkl'', and how to solve this bug?

Foruck commented 1 year ago

Would you mind providing more running details like the version of python, also the detailed error info?

yyvhang commented 1 year ago

Would you mind providing more running details like the version of python, also the detailed error info?

My Python version is 3.9, and I will get the following error: TypeError: lambda () takes 1 positional argument but 2 were given. I tried to debug and found this error is from the function "get param"--> line 174 from generate_utils.py. Besides, I have tried to use python 3.7 and python 2.7, but this error still exists. Thanks for your reply!

Foruck commented 1 year ago

A possible reason might be the wrong version of sympy (1.4 in our project). If still not resolved, detailed traceback information would help.

yyvhang commented 1 year ago

Thanks for your guidance, Sympy version 1.4 works in python3.9.