전체 글 (161) 썸네일형 리스트형 fatal error: TH/TH.h: No such file or directory 해결 # clone Torch repository git clone https://github.com/torch/torch7 mkdir th_build cd th_build # configure TH build cmake ../torch7/lib/TH # compile library make # install shared library and header files make install 진짜 .. 문제 날때 마다 왜인지좀 누가 알려줬으면 좋겠다.. 이것저것 찾아보다가 그냥 직접 빌드했다. 그러니까 이번에는 fatal error: THC/THC.h: No such file or directory 이 error가 나는데 이거 해볼라고 진짜 왠만한 삽질은 다해보다가 결국에 11버전에서는 라이브러리가 바뀌었단.. CUDA_cublas_device_LIBRARY (ADVANCED) linked by target "THC" in directory /root/torch/extra/cutorch/lib/THC 해결 $ cd ~/torch $ rm -fr cmake/3.6/Modules/FindCUDA* torch/extra/cutorch 에서 아래 파일을 수정해줘야함 /lib/THC/THCAtomics.cuh 에디터를 사용해서 해당 코드 추가 @@ -94,6 +94,7 @@ static inline __device__ void atomicAdd(long *address, long val) { } #ifdef CUDA_HALF_TENSOR +#if !(__CUDA_ARCH__ >= 700 || !defined(__CUDA_ARCH__) ) static inline __device__ void atomicAdd(half *address, half val) { unsigned int * address_as_ui =.. CMake error with "CUDA_cublas_device_LIBRARY" 해결 cmake version update 3.10.2 -> 3.12.1 시도중 cmake 설치 방법 기존 cmake 제거 후 $ wget http://www.cmake.org/files/v3.12/cmake-3.12.1.tar.gz $ tar -xvzf cmake-3.12.1.tar.gz $ cd cmake-3.12.1/ $ ./configure $ make $ sudo make install $ sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force E: Package 'python-software-properties' has no installation candidate 문제상황 fatal error: 'TH/TH.h' file not found 발생 - DCNv2 make ( docker 환경 ) 시 발생 http://torch.ch/docs/getting-started.html#_ Torch | Getting started with Torch Torch is a scientific computing framework for LuaJIT. torch.ch bulid를 통해 해결하려고 시도 위와 같은 error 발생 해결 replacing the line sudo apt-get install -y python-software-properties by sudo apt-get install -y software-properties-common in install-deps E: Package 'git' has no installation candidate 문제상황 docker container에서 apt-get install git 실행 해결 apt-get update 후 실행 cuda 11.2 에 맞는 pytorch 가장 낮은 버전 pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html 11.2랑 matching되는 게 없어서.. 11.0부분으로 가져와서 쓰고있음. [ 꼼꼼하게 논문 읽기 ] Deformable Convolution Networks ( 2017 ) 논문을 읽은 때는 항상 즐겁죠 적용할 때는 다른 이야기지만요 왜 보냐 아마도 st-gcn 논문을 볼 때 gcn에서 이를 언급했던 것이라 정리 차원에서 봅니다. CenterNet에서도 나왔죠. upsample layer 앞에서 deformable Convolution layer를 썻다고 했으니까요. 그게 뭐길래, 그죠? 시작합니다. Abstract CNNs는 본질적으로 geometric transformations를 model하도록 제한되어 있는데, 이는 their building modules에서 fixed geometric structures 때문이죠. 이 논문에서, 저자들은 새로운 두 가지 modules를 도입하죠. 이 modules는 CNNs의 transformation modeling capabi.. [ 꼼꼼하게 논문 읽기 ] Deep Layer Aggregation ( 2019 ) CenterNet의 backbone 중에는 DLA-34가 있죠. DLA는 backbone의 핵심 아이디어가 설명되었던 논문인데요 한번 봅시다. Abstract visual recognition은 low level에서 high level 까지 rich representations, small 부터 large까지의 scales, fine부터 coarse한 resolutions를 요구하죠. 심지어 CNN에서 feature의 depth를 가지고, 고립된 layer는 충분하지 않죠 : 이런 representations를 compounding 하고 aggregating하는 것은 what and where에 대한 inference를 향상시키죠. Architectural efforts가 network backbones.. 이전 1 ··· 3 4 5 6 7 8 9 ··· 21 다음