Giter Club home page Giter Club logo

Comments (10)

sjtuytc avatar sjtuytc commented on August 14, 2024

I tried to modify AT_ASSERTM to AT_ASSERT. But then it reports the following errors:
running build_ext
building 'ransac_voting' extension
gcc -pthread -B /media/data_1/home/zelin/anaconda3/envs/pvnet_new/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/lib/python3.6/site-packages/torch/lib/include -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/lib/python3.6/site-packages/torch/lib/include/TH -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/include/python3.6m -c ./src/ransac_voting.cpp -o build/temp.linux-x86_64-3.6/./src/ransac_voting.o -DTORCH_EXTENSION_NAME=ransac_voting -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/local/cuda/bin/nvcc -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/lib/python3.6/site-packages/torch/lib/include -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/lib/python3.6/site-packages/torch/lib/include/TH -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/media/data_1/home/zelin/anaconda3/envs/pvnet_new/include/python3.6m -c ./src/ransac_voting_kernel.cu -o build/temp.linux-x86_64-3.6/./src/ransac_voting_kernel.o -DTORCH_EXTENSION_NAME=ransac_voting --compiler-options '-fPIC' -std=c++11
./src/ransac_voting_kernel.cu(75): error: no instance of constructor "at::Type::Type" matches the argument list
argument types are: (int, int, int)

./src/ransac_voting_kernel.cu(75): error: no suitable user-defined conversion from "at::Type" to "at::IntList" exists

./src/ransac_voting_kernel.cu(255): error: no instance of constructor "at::Type::Type" matches the argument list
argument types are: (int, int, int)

./src/ransac_voting_kernel.cu(255): error: no suitable user-defined conversion from "at::Type" to "at::IntList" exists

4 errors detected in the compilation of "/tmp/tmpxft_0000b460_00000000-6_ransac_voting_kernel.cpp1.ii".
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

from pvnet.

pengsida avatar pengsida commented on August 14, 2024

what is your pytorch version

from pvnet.

sjtuytc avatar sjtuytc commented on August 14, 2024

Thanks, I modified my pytorch version and solved this problem

from pvnet.

571502680 avatar 571502680 commented on August 14, 2024

When I use pytorch-0.4.0 to build ransac voting layer it happened the same error. My gcc version is 5.4.0.

from pvnet.

pengsida avatar pengsida commented on August 14, 2024

Please follow README.md.

from pvnet.

571502680 avatar 571502680 commented on August 14, 2024

Please follow README.md.

So?it doesn't work

from pvnet.

pengsida avatar pengsida commented on August 14, 2024
  1. setup python environment
    image
  2. In requirements, we install pytorch-0.4.1 in https://github.com/zju3dv/pvnet/blob/master/requirements.txt#L7

from pvnet.

571502680 avatar 571502680 commented on August 14, 2024

setup python environment

In requirements, we install pytorch-0.4.1 in https://github.com/zju3dv/pvnet/blob/master/requirements.txt#L7
why does it have different versions?https://github.com/jkznst/pvnet/blob/master/README.md

from pvnet.

pengsida avatar pengsida commented on August 14, 2024

I updated README.md after #10
Sorry for the inconvenience.

from pvnet.

571502680 avatar 571502680 commented on August 14, 2024

I updated README.md after #10
Sorry for the inconvenience.

Thanks for your reply!

from pvnet.

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.