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

Linux22

[Jetson Nano] OpenCV 설치 1. Jetson Nano에 이미 설치된 openCV가 있는지 확인 pkg-config --modversion opencv 2. OpenCV 관련 삭제 sudo apt-get purge libopencv* python-opencv #설치된 opencv 관련 라이브러리 삭제 sudo apt-get autoremove #필요없는 라이브러리 삭제 sudo find /usr/local/ -name "*opencv*" -exec rm -i {} \; #opencv 관련 삭제 3. 업데이트 sudo apt-get update sudo apt-get upgrade 4. OpenCV 설치 관련 라이브러리 설치 sudo apt-get install -y build-essential cmake git unzip pkg-c.. 2023. 9. 19.
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.
Ubuntu 18.04 Network Setting sudo vim /etc/default/grub #아래 내용 추가 GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" update-grub2 sudo vim /etc/network/interfaces #아래 내용 추가 auto lo iface lo inet loopback #The primary network interface #dhcp(자동)인경우 auto eth0 iface eth0 inet static #static(고정)인경우 auto eth0 iface eth0 inet static address 10.10.10.123 netmask 255.255.255.0 gateway 10.10.10.1 dns-nameservers 8.8.8.8 service networ.. 2023. 7. 27.
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.
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.
728x90
반응형
LIST