본문 바로가기
728x90
반응형
SMALL

Linux/Error12

TypeError pybind11::init(): factory function returned nullptr [ERROR] TypeError pybind11::init(): factory function returned nullptr [SOLUTION] pip install nvidia-tensorrt==8.4.0.6 2023. 8. 30.
ModuleNotFoundError: No module named 'skimage' [Error] ModuleNotFoundError: No module named 'skimage' [Solution] pip install scikit-image 2023. 7. 20.
ValueError: too many values to unpack 설정한 변수의 갯수와 리턴하는 값의 갯수를 일치하도록해야한다. ex) def test(): ... retrun a, b if __name__ == "__main__": c, b = test() 2023. 7. 4.
raise ProcessExitedException( torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGSEGV [Error] raise ProcessExitedException( torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGSEGV [Solution] test : python -c 'from fairseq import libnat; print(libnat.suggested_ed2_path([[1, 2, 3, 4]], [[1, 3, 4, 5, 6]], 0))' 에러가 나면, git clone https://github.com/pytorch/fairseq.git && cd fairseq conda install gcc_linux-64 gxx_linux-64 pip install cython python s.. 2023. 6. 28.
ModuleNotFoundError: No module named 'sacrebleu' [Error] ModuleNotFoundError: No module named 'sacrebleu' [Solution] pip install sacrebleu 2023. 6. 28.
ModuleNotFoundError: No module named 'sklearn' [Error] ModuleNotFoundError: No module named 'sklearn' [Solution] conda install scikit-learn or pip install scikit-learn 2023. 6. 28.
Reinstall missing kernel modules sudo apt-get install --reinstall linux-headers-$(uname -r) sudo apt-get update && sudo apt-get upgrade CUDA와 CUDNN 설치후 동작 테스트 할때, GPU device를 찾지 못한다는 에러가 나는 경우, 커널이 망가져있을 수 있다. 2023. 6. 27.
nvrtc: error: invalid value for --gpu-architecture (-arch) [error] nvrtc: error: invalid value for --gpu-architecture (-arch) [solution] 1. detectron2/detectron2/engine/train_loop.py line 491 : 주석처리 #with autocast(dtype=self.precision): 2. detectron2/detectron2/engine/train_loop.py line 435~ : False를 True로 변경 class AMPTrainer(SimpleTrainer): def __init__( ... ... zero_grad_before_foward = True ): 2023. 6. 27.
[pytorch] AttributeError: module 'distutils' has no attribute 'version' [Solution] pip install setuptools==59.5.0 2023. 6. 26.
728x90
반응형
LIST