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

Duplicate checking of float type in main.py #128

Open JWCS opened 3 years ago

JWCS commented 3 years ago

The block of code starting at line 69 on simplifyx/main.py is repeated shortly below, line 92.

Also, since I'm already raising an editable issue, you should have all the sanitization that will hard-fail/quit the program happen before you go about making all those directories. It's better to fail early than give the user some hope of success.