Open monajalal opened 7 months ago
I ran it again inside the activated environment after installing gdown the weights are downloaded but I got some errors
(sam6d) mona@ada:/data/SAM-6D/SAM-6D$ sh prepare.sh
CondaValueError: prefix already exists: /home/mona/anaconda3/envs/sam6d
CondaError: Run 'conda init' before 'conda activate'
running install
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
running bdist_egg
running egg_info
writing pointnet2.egg-info/PKG-INFO
writing dependency_links to pointnet2.egg-info/dependency_links.txt
writing top-level names to pointnet2.egg-info/top_level.txt
reading manifest file 'pointnet2.egg-info/SOURCES.txt'
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/utils/cpp_extension.py:388: UserWarning: The detected CUDA version (11.8) has a minor version mismatch with the version that was used to compile PyTorch (11.7). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/utils/cpp_extension.py:398: UserWarning: There are no g++ version bounds defined for CUDA version 11.8
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'pointnet2._ext' extension
Emitting ninja build file /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/9] c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/bindings.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/bindings.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/bindings.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/bindings.o
c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/bindings.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/bindings.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/bindings.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/bindings.cpp:6:10: fatal error: ball_query.h: No such file or directory
6 | #include "ball_query.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[2/9] c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/interpolate.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate.o
c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/interpolate.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/interpolate.cpp:6:10: fatal error: interpolate.h: No such file or directory
6 | #include "interpolate.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
[3/9] c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/ball_query.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query.o
c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/ball_query.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/ball_query.cpp:6:10: fatal error: ball_query.h: No such file or directory
6 | #include "ball_query.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[4/9] c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/group_points.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points.o
c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/group_points.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/group_points.cpp:6:10: fatal error: group_points.h: No such file or directory
6 | #include "group_points.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
[5/9] c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/sampling.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling.o
c++ -MMD -MF /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling.o.d -pthread -B /home/mona/anaconda3/envs/sam6d/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -O2 -isystem /home/mona/anaconda3/envs/sam6d/include -fPIC -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/sampling.cpp -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/sampling.cpp:6:10: fatal error: sampling.h: No such file or directory
6 | #include "sampling.h"
| ^~~~~~~~~~~~
compilation terminated.
[6/9] /usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/ball_query_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query_gpu.o
/usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/ball_query_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/ball_query_gpu.cu:10:10: fatal error: cuda_utils.h: No such file or directory
10 | #include "cuda_utils.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[7/9] /usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/sampling_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling_gpu.o
/usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/sampling_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/sampling_gpu.cu:9:10: fatal error: cuda_utils.h: No such file or directory
9 | #include "cuda_utils.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[8/9] /usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/interpolate_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate_gpu.o
/usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/interpolate_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/interpolate_gpu.cu:10:10: fatal error: cuda_utils.h: No such file or directory
10 | #include "cuda_utils.h"
| ^~~~~~~~~~~~~~
compilation terminated.
[9/9] /usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/group_points_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
FAILED: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points_gpu.o
/usr/local/cuda-11.8/bin/nvcc -I_ext_src/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/TH -I/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda-11.8/include -I/home/mona/anaconda3/envs/sam6d/include/python3.9 -c -c /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/group_points_gpu.cu -o /data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/build/temp.linux-x86_64-cpython-39/_ext_src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/_ext_src/src/group_points_gpu.cu:9:10: fatal error: cuda_utils.h: No such file or directory
9 | #include "cuda_utils.h"
| ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1893, in _run_ninja_build
subprocess.run(
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/SAM-6D/SAM-6D/Pose_Estimation_Model/model/pointnet2/setup.py", line 16, in <module>
setup(
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/command/install.py", line 87, in run
self.do_egg_install()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/command/install.py", line 139, in do_egg_install
self.run_command('bdist_egg')
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/command/bdist_egg.py", line 167, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
self.run_command(cmdname)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 91, in run
_build_ext.run(self)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 843, in build_extensions
build_ext.build_extensions(self)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 252, in build_extension
_build_ext.build_extension(self, ext)
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
objects = self.compiler.compile(
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 658, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1909, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
--2024-04-09 09:44:59-- https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth
Resolving dl.fbaipublicfiles.com (dl.fbaipublicfiles.com)... 13.226.34.122, 13.226.34.7, 13.226.34.53, ...
Connecting to dl.fbaipublicfiles.com (dl.fbaipublicfiles.com)|13.226.34.122|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2564550879 (2.4G) [binary/octet-stream]
Saving to: ‘/data/SAM-6D/SAM-6D/Instance_Segmentation_Model/checkpoints/segment-anything/sam_vit_h_4b8939.pth’
/data/SAM-6D/SAM-6D/Instance_Segmentation_Model/ch 100%[================================================================================================================>] 2.39G 50.9MB/s in 50s
2024-04-09 09:45:50 (48.9 MB/s) - ‘/data/SAM-6D/SAM-6D/Instance_Segmentation_Model/checkpoints/segment-anything/sam_vit_h_4b8939.pth’ saved [2564550879/2564550879]
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'drive.google.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'drive.google.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'doc-0s-2g-docs.googleusercontent.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
Downloading...
From (original): https://drive.google.com/uc?id=1m1sjY4ihXBU1fZXdQ-Xdj-mDltW-2Rqv
From (redirected): https://drive.google.com/uc?id=1m1sjY4ihXBU1fZXdQ-Xdj-mDltW-2Rqv&confirm=t&uuid=29751d27-6073-4033-a902-ec933598c4a6
To: /data/SAM-6D/SAM-6D/Instance_Segmentation_Model/checkpoints/FastSAM/FastSAM-x.pt
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 145M/145M [00:02<00:00, 49.0MB/s]
--2024-04-09 09:45:55-- https://dl.fbaipublicfiles.com/dinov2/dinov2_vitl14/dinov2_vitl14_pretrain.pth
Resolving dl.fbaipublicfiles.com (dl.fbaipublicfiles.com)... 13.226.34.53, 13.226.34.83, 13.226.34.122, ...
Connecting to dl.fbaipublicfiles.com (dl.fbaipublicfiles.com)|13.226.34.53|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1217586395 (1.1G) [binary/octet-stream]
Saving to: ‘/data/SAM-6D/SAM-6D/Instance_Segmentation_Model/checkpoints/dinov2/dinov2_vitl14_pretrain.pth’
/data/SAM-6D/SAM-6D/Instance_Segmentation_Model/ch 100%[================================================================================================================>] 1.13G 47.7MB/s in 23s
2024-04-09 09:46:18 (51.5 MB/s) - ‘/data/SAM-6D/SAM-6D/Instance_Segmentation_Model/checkpoints/dinov2/dinov2_vitl14_pretrain.pth’ saved [1217586395/1217586395]
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'drive.google.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'drive.google.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
/home/mona/anaconda3/envs/sam6d/lib/python3.9/site-packages/urllib3/connectionpool.py:1103: InsecureRequestWarning: Unverified HTTPS request is being made to host 'doc-0g-7g-docs.googleusercontent.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
Downloading...
From (original): https://drive.google.com/uc?id=1joW9IvwsaRJYxoUmGo68dBVg-HcFNyI7
From (redirected): https://drive.google.com/uc?id=1joW9IvwsaRJYxoUmGo68dBVg-HcFNyI7&confirm=t&uuid=ec8ad626-b452-4850-b8ab-3365899b1b2b
To: /data/SAM-6D/SAM-6D/Pose_Estimation_Model/checkpoints/sam-6d-pem-base.pth
I think prepare.sh
needs some bug fixing.
(base) mona@ada:~$ uname -a
Linux ada 6.5.0-25-generic #25~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 20 16:09:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
(base) mona@ada:~$ lsb_release -a
LSB Version: core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
(base) mona@ada:~$ nvidia-smi
Tue Apr 9 09:53:42 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.104.12 Driver Version: 535.104.12 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA RTX 6000 Ada Gene... On | 00000000:52:00.0 On | Off |
| 30% 41C P8 27W / 300W | 1927MiB / 49140MiB | 2% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 4427 G /usr/lib/xorg/Xorg 903MiB |
| 0 N/A N/A 4598 G /usr/bin/gnome-shell 54MiB |
| 0 N/A N/A 5274 G ...ures=SpareRendererForSitePerProcess 124MiB |
| 0 N/A N/A 124228 G ...2208806,17303107387989153126,262144 40MiB |
| 0 N/A N/A 1357737 G ...sion,SpareRendererForSitePerProcess 111MiB |
| 0 N/A N/A 1603088 G ...irefox/3941/usr/lib/firefox/firefox 427MiB |
| 0 N/A N/A 2730073 G ...AAAAAAAACAAAAAAAAAA= --shared-files 74MiB |
| 0 N/A N/A 3037902 G meshlab 8MiB |
+---------------------------------------------------------------------------------------+
(base) mona@ada:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
Hi... Did you rectify the issue? It seems the authors have abandoned the repo!
(base) mona@ada:/data/SAM-6D/SAM-6D$ sh prepare.sh