vchoutas / smplify-x

Expressive Body Capture: 3D Hands, Face, and Body from a Single Image
https://smpl-x.is.tue.mpg.de/
Other
1.73k stars 335 forks source link

configer v1.4 not found #134

Open md84419 opened 3 years ago

md84419 commented 3 years ago

When attempting to build from source, I'm getting: ERROR: Could not find a version that satisfies the requirement configer>=1.4 (from human_body_prior->-r requirements.txt (line 10)) (from versions: 0.9, 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1) ERROR: No matching distribution found for configer>=1.4 (from human_body_prior->-r requirements.txt (line 10))

I've also tried the solution provided in #129

$ python3 -m pip install 'configer==1.4.1'
ERROR: Could not find a version that satisfies the requirement configer==1.4.1 (from versions: 0.9, 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1) ERROR: No matching distribution found for configer==1.4.1

How can I resolve this, please?

md84419 commented 3 years ago

Okay, I've figured out how to fix. configer 1.4.1 is a fork and isn't available at pypi. Edit the requirements.txt to add this line, which will fetch the forked version and build it:

diff --git a/requirements.txt b/requirements.txt index ea53c50..443eb48 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ numpy>=1.16.2 torch>=1.0.1.post2 torchgeometry>=0.1.2 PyYAML==5.1.1 +-e git+https://github.com/MPI-IS/configer#egg=configer configargparse smplx pillow