Coder Social home page Coder Social logo

Comments (5)

chrischoy avatar chrischoy commented on May 22, 2024

Could you put the complete compilation log on the paste bin and add the link when you run the following commands?

make clean
make
python setup.py install

from minkowskiengine.

qingqing01 avatar qingqing01 commented on May 22, 2024

Thanks! Aftern make clean, the make, error is:

CXX src/pruning.cpp
NVCC src/voxelization.cu
NVCC src/pruning.cu
NVCC src/pooling_avg.cu
NVCC src/math_functions.cu
NVCC src/gpu.cu
NVCC src/convolution.cu
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:206: error: expansion pattern 'pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value' contains no argument packs
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:215: error: template argument 1 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:392: error: expansion pattern 'pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value' contains no argument packs
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:395: error: template argument 2 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:397: error: template argument 1 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:397: error: template argument 2 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:412: error: template argument 1 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:149: error: expansion pattern 'std::is_copy_constructible<_Tp>::value' contains no argument packs
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:240: error: expansion pattern 'std::is_same<typename Container::value_type&, typename Container::reference>::value' contains no argument packs
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:249: error: template argument 1 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:249: error: template argument 2 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:312: error: expansion pattern 'std::is_copy_constructible<_Tp>::value' contains no argument packs

from minkowskiengine.

chrischoy avatar chrischoy commented on May 22, 2024

Similar error message was found on a torch issue page.

I've made the change on the issue24 branch. Could you follow the instruction at the bottom and let me know if it worked?

cd /path/to/MinkowskiEngine
git pull
git checkout issue24
make clean
python setup.py install

from minkowskiengine.

qingqing01 avatar qingqing01 commented on May 22, 2024

Follow the instruction, there is still error:

(py3-mink) MinkowskiEngine# git branch
* issue24
  master
NVCC src/gpu.cu
NVCC src/convolution.cu
NVCC src/broadcast.cu
NVCC src/pooling_max.cu

/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:206: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:215: error: template argument 1 is invalid
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:392: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs
/root/miniconda3/envs/py3-mink/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:395: error: template argument 2 is invalid

from minkowskiengine.

chrischoy avatar chrischoy commented on May 22, 2024

Hmm, one of the issue pages suggested installing CUDA 10, and the installing pytorch with cuda 10. Could you try to install CUDA 10 and put the result here? Thanks!

# install CUDA 10
conda install pytorch torchvision cudatoolkit=10.0 -c pytorch

from minkowskiengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.