StevenGrove / LearnableTreeFilterV2

Apache License 2.0
91 stars 9 forks source link

python setup.py build develop #6

Open chaojuncheung opened 2 years ago

chaojuncheung commented 2 years ago

I'm configuring it on a rented platform and I'm having the following problems:


                              !! WARNING !!

  warnings.warn(WRONG_COMPILER_WARNING.format(
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/PSROIPool/psroi_pool_kernel.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/ROIAlign/ROIAlign_cpu.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/ROIAlign/ROIAlign_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/SwapAlign2Nat/SwapAlign2Nat_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/border_align/border_align_kernel.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/cocoeval/cocoeval.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/cuda_version.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/deformable/deform_conv_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/deformable/deform_conv_cuda_kernel.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/lars/adaptive_lr_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/masked_conv2d/masked_conv2d_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/ml_nms/ml_nms.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/nms_rotated/nms_rotated_cpu.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/nms_rotated/nms_rotated_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/sigmoid_focal_loss/SigmoidFocalLoss_cuda.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/tree_filter/bfs.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/tree_filter/boruvka.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/tree_filter/boruvka_rst.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/tree_filter/mst.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/tree_filter/refine.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/tree_filter/rst.o: No such file or directory
g++: error: /public/home/hpc214712218/LearnableTreeFilterV2/build/temp.linux-x86_64-3.9/public/home/hpc214712218/LearnableTreeFilterV2/cvpods/layers/csrc/vision.o: No such file or directory
error: command '/public/home/hpc214712218/anaconda3/envs/Que/bin/g++' failed with exit code 1

I had a similar problem when I installed TreeFilterV1. I don't know why it. Thank you....

StevenGrove commented 2 years ago

When did you have these issues, during compiling the code? You need to run "python3 setup.py build develop --user" at the root folder of cvpods.

chaojuncheung commented 2 years ago

When did you have these issues, during compiling the code? You need to run "python3 setup.py build develop --user" at the root folder of cvpods.

Yes, I have this problem when compiling. At present, I still don't have a good solution, I'm going to explore it myself, thank you!