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

전체 글161

Numpy의 clip 함수 * numpy.clip(Array, Min, Max) Array - 다루려는 array Min - Min값보다 작은 값은 MIn으로 변경 Max - Max값보다 큰 값은 Max으로 변경 2023. 7. 4.
numpy array 전체 출력 [Solution] np.set_printoptions(threshold=np.inf, linewidth=np.inf) 윗 문장 추가해주면 numpy array 전체 출력 가능 2023. 7. 3.
NFS mount reboot 후에도 유지 [Solution] * sudo vim /etc/fstab * server_ip:server_path client_path nfs user ex) 192.168.1.2:/home/ /home/user/shared_folder nfs user 2023. 7. 3.
REALTEK RTL88x2B USB Linux Driver https://github.com/RinCat/RTL88x2BU-Linux-Driver git clone https://github.com/RinCat/RTL88x2BU-Linux-Driver.git cd RTL88x2BU-Linux-Driver make clean sudo make sudo make install sudo insmod rtl88x2bu.ko reboot 후에도 모듈이 적재되려면 아래 참고. https://sim-deeplearning.tistory.com/52 2023. 6. 29.
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.
Load Modules on Reboot cp /home/(user)/lib/(module_name).ko /lib/modules/$(uname -r)/kernel/drivers/ echo "(module_name)" >> /etc/modules depmod -a insmod /lib/modules/$(uname -r)/kernel/drivers/(module_name).ko Reboot 후에도 module를 로딩하기 위해 위와 같이 작업한다. 위의 괄호는 제외하고 입력해야한다. 2023. 6. 27.
Ubuntu18.04 Install Cuda, Cudnn 1. CUDA 설치 https://developer.nvidia.com/cuda-toolkit-archive CUDA Toolkit Archive Previous releases of the CUDA Toolkit, GPU Computing SDK, documentation and developer drivers can be found using the links below. Please select the release you want from the list below, and be sure to check www.nvidia.com/drivers for more recent production developer.nvidia.com 위 페이지에 들어가서 원하는 버전의 CUDA 선택한다. 필자는 11... 2023. 6. 27.
728x90
반응형
LIST