Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About install ./utils #3

Open
chenyang1999 opened this issue Sep 19, 2022 · 2 comments
Open

About install ./utils #3

chenyang1999 opened this issue Sep 19, 2022 · 2 comments

Comments

@chenyang1999
Copy link

Thank you for your great work~
When I try to run your code, I can successfully compile the emd,
but cannot compile the expansion_penalty and MDS and 'Pointnet2.PyTorch':
errors are:

c10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.6/pointnet2_cuda.cpython-36m-x86_64-linux-gnu.so
g++: error: /data112/chenyang/SDT-main/utils/Pointnet2.PyTorch/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o: 没有那个文件或目录
g++: error: /data112/chenyang/SDT-main/utils/Pointnet2.PyTorch/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o: 没有那个文件或目录
g++: error: /data112/chenyang/SDT-main/utils/Pointnet2.PyTorch/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o: 没有那个文件或目录
g++: error: /data112/chenyang/SDT-main/utils/Pointnet2.PyTorch/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o: 没有那个文件或目录
error: command 'g++' failed with exit status 1
running install
running bdist_egg
running egg_info
writing MDS.egg-info/PKG-INFO
writing dependency_links to MDS.egg-info/dependency_links.txt
writing top-level names to MDS.egg-info/top_level.txt
reading manifest file 'MDS.egg-info/SOURCES.txt'
writing manifest file 'MDS.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'MDS' extension
Emitting ninja build file /data112/chenyang/SDT-main/utils/MDS/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.8.2
g++ -pthread -shared -B /home/chenyang/.conda/envs/sdt/compiler_compat -L/home/chenyang/.conda/envs/sdt/lib -Wl,-rpath=/home/chenyang/.conda/envs/sdt/lib -Wl,--no-as-needed -Wl,--sysroot=/ /data112/chenyang/SDT-main/utils/MDS/build/temp.linux-x86_64-3.6/MDS_cuda.o /data112/chenyang/SDT-main/utils/MDS/build/temp.linux-x86_64-3.6/MDS.o -L/home/chenyang/.conda/envs/sdt/lib/python3.6/site-packages/torch/lib -L/usr/local/cuda-11.1/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.6/MDS.cpython-36m-x86_64-linux-gnu.so
g++: error: /data112/chenyang/SDT-main/utils/MDS/build/temp.linux-x86_64-3.6/MDS.o: 没有那个文件或目录
error: command 'g++' failed with exit status 1
running install
running bdist_egg
running egg_info
writing expansion_penalty.egg-info/PKG-INFO
writing dependency_links to expansion_penalty.egg-info/dependency_links.txt
writing top-level names to expansion_penalty.egg-info/top_level.txt
reading manifest file 'expansion_penalty.egg-info/SOURCES.txt'
writing manifest file 'expansion_penalty.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'expansion_penalty' extension
creating /data112/chenyang/SDT-main/utils/expansion_penalty/build/temp.linux-x86_64-3.6
Emitting ninja build file /data112/chenyang/SDT-main/utils/expansion_penalty/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.8.2
creating build/lib.linux-x86_64-3.6
g++ -pthread -shared -B /home/chenyang/.conda/envs/sdt/compiler_compat -L/home/chenyang/.conda/envs/sdt/lib -Wl,-rpath=/home/chenyang/.conda/envs/sdt/lib -Wl,--no-as-needed -Wl,--sysroot=/ /data112/chenyang/SDT-main/utils/expansion_penalty/build/temp.linux-x86_64-3.6/expansion_penalty.o /data112/chenyang/SDT-main/utils/expansion_penalty/build/temp.linux-x86_64-3.6/expansion_penalty_cuda.o -L/home/chenyang/.conda/envs/sdt/lib/python3.6/site-packages/torch/lib -L/usr/local/cuda-11.1/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.6/expansion_penalty.cpython-36m-x86_64-linux-gnu.so
g++: error: /data112/chenyang/SDT-main/utils/expansion_penalty/build/temp.linux-x86_64-3.6/expansion_penalty.o: 没有那个文件或目录
g++: error: /data112/chenyang/SDT-main/utils/expansion_penalty/build/temp.linux-x86_64-3.6/expansion_penalty_cuda.o: 没有那个文件或目录
error: command 'g++' failed with exit status 1
@XLechter
Copy link
Owner

Hi @chenyang1999 , acutally expansion_penalty and MDS are not used in this project as I directly copy the utils folder from VRCNet project. So you need not to compile them. For pointnet2, I am not sure why there is a 'file not found' error as the file should be complete. Maybe you could check the original project https://github.com/sshaoshuai/Pointnet2.PyTorch and try compile from it. Hope this helps.

@chenyang1999
Copy link
Author

Hi @chenyang1999 , acutally expansion_penalty and MDS are not used in this project as I directly copy the utils folder from VRCNet project. So you need not to compile them. For pointnet2, I am not sure why there is a 'file not found' error as the file should be complete. Maybe you could check the original project https://github.com/sshaoshuai/Pointnet2.PyTorch and try compile from it. Hope this helps.

Thank you very much for your answer, I am a novice in this area, and I will try to compile from the source code ~
If I could solve this problem, I will post my solution to this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants