This repository contains an implementation for performing 3D animal (quadruped) reconstruction from a monocular image or video. The system adapts the pose (limb positions) and shape (animal type/height/weight) parameters for the SMAL deformable quadruped model, as well as camera parameters until the projected SMAL model aligns with 2D keypoints and silhouette segmentations extracted from the input frame(s).
If you are having problems installing PyTorch3D on Windows with PyTorch 1.6, try the following fixes:
In file venv/Lib/site-packages/torch/include/pybind11/cast.h, change:
explicit operator type&() { return*(this->value); }
explicit operator type&() { return *((type*)this->value); }
In file venv\Lib\site-packages\torch\include\torch\csrc\jit\runtime, change
static constexpr size_t DEPTH_LIMIT = 128;
static const size_t DEPTH_LIMIT = 128;
In file venv\Lib\site-packages\torch\include\torch\csrc\jit\api, change:
CONSTEXPR_EXCEPT_WIN_CUDA
const