-
Notifications
You must be signed in to change notification settings - Fork 1
Resolve the issue for original SMPL using the fucking python2.7 and chumpy, current accept numpy1.24 and python3.12
License
ZiXuanVickyLu/pySMPL
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
## This is a modified version of SMPL On this modification, I transfer the python2.7 code to support modern python (tested and accepted by python3.12) You should follow the **specific package version** listing on requirements.txt. On Chumpy, please **replace** the __init__.py with __init__modified_chumpy.py and rename is as __init__.py. This will resolved the failed importing on deprecated numpy components. You should download the models(v1.1.0) from [https://smpl.is.tue.mpg.de/download.php]. On Downloads, select v1.1.0 and place the models it on SMPL/models/. ## Licence SMPL original licence is of listed with the repository. ## Below is the original README.md License: ======== To learn about SMPL, please visit our website: http://smpl.is.tue.mpg You can find the SMPL paper at: http://files.is.tue.mpg.de/black/papers/SMPL2015.pdf Visit our downloads page to download some sample animation files (FBX), and python code: http://smpl.is.tue.mpg/downloads For comments or questions, please email us at: smpl@tuebingen.mpg.de System Requirements: ==================== Operating system: OSX, Linux Python Dependencies: - Numpy & Scipy [http://www.scipy.org/scipylib/download.html] - Chumpy [https://github.com/mattloper/chumpy] - OpenCV [http://opencv.org/downloads.html] Getting Started: ================ 1. Extract the Code: -------------------- Extract the 'smpl.zip' file to your home directory (or any other location you wish) 2. Set the PYTHONPATH: ---------------------- We need to update the PYTHONPATH environment variable so that the system knows how to find the SMPL code. Add the following lines to your ~/.bash_profile file (create it if it doesn't exist; Linux users might have ~/.bashrc file instead), replacing ~/smpl with the location where you extracted the smpl.zip file: SMPL_LOCATION=~/smpl export PYTHONPATH=$PYTHONPATH:$SMPL_LOCATION Open a new terminal window to check if the python path has been updated by typing the following: > echo $PYTHONPATH 3. Run the Hello World scripts: ------------------------------- In the new Terminal window, navigate to the smpl/smpl_webuser/hello_world directory. You can run the hello world scripts now by typing the following: > python hello_smpl.py OR > python render_smpl.py Note: Both of these scripts will require the dependencies listed above. The scripts are provided as a sample to help you get started.
About
Resolve the issue for original SMPL using the fucking python2.7 and chumpy, current accept numpy1.24 and python3.12
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published