agimus-project / happypose

Toolbox and trackers for object pose-estimation. Based on the work CosyPose and MegaPose
https://agimus-project.github.io/happypose/
BSD 2-Clause "Simplified" License
23 stars 9 forks source link

add missing header #38

Closed nim65s closed 1 year ago

nim65s commented 1 year ago

Hi,

@ElliotMaitre has the following issue:

In file included from /home/emaitre/miniconda3/envs/happypose/lib/python3.9/site-packages/torch/include/pybind11/pybind11.h:45,
                 from /home/emaitre/happypose/happypose/pose_estimators/cosypose/cosypose/csrc/cosypose_cext.cpp:1:
/home/emaitre/miniconda3/envs/happypose/lib/python3.9/site-packages/torch/include/pybind11/attr.h:199:10: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
  199 |     std::uint16_t nargs;
      |          ^~~~~~~~
      |          wint_t

Here is a fix.