Study: Software(SW)

    [Error Fix] Solved "nvcc fatal: Unsupported gpu architecture 'compute_native'" (feat. colmap, cuda architecture)

    # Problem When I build COLMAP, I got a below error msg. FAILED: src/colmap/mvs/CMakeFiles/colmap_mvs_cuda.dir/patch_match_cuda.cu.o /usr/bin/nvcc -forward-unknown-to-host-compiler -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK ... nvcc fatal: Unsupported gpu architecture 'compute_native' # Solution $ nvidia-smi --query-gpu=compute_cap --format=csv compute_cap 7.5 $ cmake .. -GNinja -DCMAKE_CUDA_..

    [IDE] VSCode 파일 확장자 인식 설정 방법

    💡 본 문서는 'VSCode 파일 확장자 인식 설정 방법'에 대해 정리해놓은 글입니다. simulation 코딩을 하다보면 .world 파일 같은 확장자를 가진 파일이 xml 인식이 안되는 경우가 있습니다. 이런 경우는 다 같은 색으로 보여 보기 불편하므로 VS code 상에서 설정하는 방법에 대해 정리하였으니 참고하시기 바랍니다.VSCode 파일 확장자 인식 설정 방법visual studio code에서 좌측 하단에 있는 설정 모양을 클릭(단축키 : ctrl+,)setting 창이 켜지면 "file association"이라고 검색Files: Associations 에 "Add Item"을 눌러 Item과 Value를 페어로 넣기참고[blog] [Visual Studio Code] 파일 확장자 인식 설..

    [Error Fix] Solved 'file casper/vmlinuz not found you need to load the kernel first' (feat. remove root partition)

    # Problem I'm trying to boot Ubuntu via a USB stick (dual boot with windows) , and the following error is being displayed file casper/vmlinuz not found you need to load the kernel first # Solution When you create a boot disk, you usually boot it using Rufus, but you shouldn't use Rufus. The boot disk was created using the Universal USB Installer (UUI) and installed normally. # Reference [Reddit]..

    [Python] Thread: GIL과 Thread 구현/실행, Event

    💡 본 문서는 '[Python] Thread: GIL과 Thread 구현/실행, Event'에 대해 정리해놓은 글입니다. ~~~정리하였으니 참고하시기 바랍니다. 1. Thread 동작 프로세스와 스레드에서 스레드가 무엇인지 알아봤습니다. 이번에는 파이썬에서 스레드를 구현하고 사용하는 기본적인 방법과 자원의 무결성과 동기화를 위한 처리에 관해서 알아보도록 하겠습니다. GIL(Global Interpreter Lock) 파이썬 코드는 인터프리터가 코드를 번역하고 실행함으로써 실행됩니다. 즉, 파이썬 코드가 실행되기 위해서는 인터프리터라는 자원을 소유하고 있어야 하는 것입니다. GIL은 인터프리터가 한 시점에 하나의 스레드만 실행할 수 있도록 해주는 인터프리터 소유에 관한 Lock입니다. Python의 스레드..