ddshan / hand_object_detector

Project and dataset webpage:
https://fouheylab.eecs.umich.edu/~dandans/projects/100DOH/
MIT License
226 stars 64 forks source link

fatal error: ATen/ceil_div.h: No such file or directory #32

Open HughesField opened 5 months ago

HughesField commented 5 months ago
  1. I got this error executing "python setup.py build develop": ... something else ... fatal error: ATen/ceil_div.h: No such file or directory

    include <ATen/ceil_div.h>

    | ^~~~~ compilation terminated. error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

My environment: Ubuntu 22.04, GCC 11.4.0. I failed install opencv-python using "pip install -r requirements.txt", so I manually installed opencv-python = 4.3.0.38 for python=3.6 environment.

  1. I tried to copy missing "ceil_div.h" from other places in anaconda3 directory, it stopped reporting missing files, but went into a lot of other problems, and they are weird: /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:56:24: error: ‘conditional_t’ does not name a type 56 | using forwarded_type = conditional_t< | ^~~~~ /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:62:1: error: ‘forwarded_type’ does not name a type 62 | forwarded_type<T, U> forward_like(U &&u) { | ^~~~~~ /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:68:22: error: ‘make_caster’ does not name a type; did you mean ‘type_caster’? 68 | using key_conv = make_caster; | ^~~ | type_caster /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:70:15: error: ‘handle’ has not been declared 70 | bool load(handle src, bool convert) { | ^~ /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:85:12: error: ‘handle’ does not name a type 85 | static handle cast(T &&src, return_value_policy policy, handle parent) {

what can I do for it?