image process complete!
Namespace(image_dir='../data/dest_images/kakao/kakao1.jpeg', save_name='output.jpg')
(bc) root@baa303cde5d2:~/input/detection_comp_exp# cd ../FaceBoxes.PyTorch/
(bc) root@baa303cde5d2:~/input/FaceBoxes.PyTorch# ls
LICENSE README.md data layers make.sh models test.py train.py utils weights
(bc) root@baa303cde5d2:~/input/FaceBoxes.PyTorch# python test.py
Traceback (most recent call last):
File "test.py", line 9, in <module>
from utils.nms_wrapper import nms
File "/opt/ml/input/FaceBoxes.PyTorch/utils/nms_wrapper.py", line 8, in <module>
from .nms.cpu_nms import cpu_nms, cpu_soft_nms
ModuleNotFoundError: No module named 'utils.nms.cpu_nms'
need to ./make.sh
pip install Cython
./make.sh
(bc) root@baa303cde5d2:~/input/FaceBoxes.PyTorch# ls
LICENSE README.md data layers make.sh models test.py train.py utils weights
(bc) root@baa303cde5d2:~/input/FaceBoxes.PyTorch# ./make.sh
Traceback (most recent call last):
File "build.py", line 59, in <module>
CUDA = locate_cuda()
File "build.py", line 45, in locate_cuda
raise EnvironmentError('The nvcc binary could not be '
OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME
(bc) root@baa303cde5d2:~/input/FaceBoxes.PyTorch#
Another error.. nvcc??
-> mmcv때 에러랑 똑같이 cudatoolkit 설치하면 된다
https://so-es-immer.tistory.com/entry/mmcv-nvcc-%EC%84%A4%EC%B9%98
conda install -c conda-forge cudatoolkit-dev
conda install -c conda-forge cudatoolkit-dev
명령어 실행하면 된다!
nvcc 오류 없이 실행된다.
'Boostcamp AI tech 3기' 카테고리의 다른 글
2. object detection and metrics (0) | 2023.01.31 |
---|---|
kaggle 등에서 gpu 확실하게 사용하기 코드 gpu options (0) | 2022.11.19 |
konlpy 관련 라이브러리 설치하기 (한국어 품사태깅, 전처리) (0) | 2022.10.27 |
[부스트캠프 AI Tech 3기] 비전공자가 경험한 부캠 후기 (0) | 2022.06.20 |
streamlit error : raise OSError(errno.ENOSPC, "inotify watch limit reached")OSError: [Errno 28] inotify watch limit reached 해결방법 (0) | 2022.05.30 |
Runtime Error : Legacy autograd function with non-static forward method is deprecated - ssd 코드 보면서 생긴 에러 (0) | 2022.05.27 |
cannot import name '_registerMatType' from 'cv2.cv2' (0) | 2022.05.27 |
paddlepaddle gpu 관련 cuda 버전에 맞게 설치하기 (0) | 2022.05.19 |