분류 전체보기 555

Docker run 시 executable file not found in $PATH: unknown 문제

Docker image를 pull 받은 후 run할 때 뜬금없이 다음 에러가 보일 때가 있다. docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: SOMETHING: executable file not found in $PATH: unknown. 위 에러에서 SOMETHING은 다양한 태그로 바뀔 수 있다. 가령 --gpus, --privileged 처럼 자주 사용하는 태그가 될 수도 있고 새로 넣는 명령어가 될 수도 있다. 원인은 SOMETHING에 들어가는 것들이 아니라 argumen..

Trouble/Docker 2023.01.05

[Linear algebra] 1. The geometry of linear equations

Introduction 가장 중요성을 느낀 기초 수학을 꼽으라면 선형대수학와 확률 통계라고 생각한다. 그 중 선형대수학은 자주 등장하는 것을 넘어서 항상 쓰는 수준이다. 그럼에도 불구하고 13년도 하반기 아무것도 모를 때 스쳐지나가듯 학점을 위해 공부했던 것이 선형대수학인지라 이해도가 충분하지 않다고 생각이 들어 오랜만에 다시 처음부터 볼 용기를 냈다. 자료는 아래 링크에서 제공하는 강의로 정했다. 13년도 내가 공부했던 책의 저자이자 선형대수학의 대명사 수준의 교수님이다. https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/video_galleries/video-lectures/ Video Lectures | Linear Algebra | Mat..

Camera undistortion visualization(KB model, UCM, DS model)

아래 두 글에서 열심히 공부하고 설명하고자 시도했던 undistortion은 꽤나 어려운 내용이다. 2022.12.20 - [Knowhow] - Camera undistortion (pinhole, KB model) Camera undistortion (pinhole, KB model) 이전 글 2022.12.07 - [Knowhow] - Fisheye camera model(KB, UCM, DS 모델) 에서 다음과 같은 논문의 말이 이해가 안된다고 적은 바 있다. We propose the Double Sphere (DS) camera model that better fits cameras with fisheye lenses, has jseobyun.tistory.com 2022.12.29 - [Kno..

Knowledge/Vision 2022.12.29

Camera undistortion (UCM, DS model)

2022.12.20 - [Knowhow] - Camera undistortion (pinhole, KB model)에 이어 UCM 카메라와 Double Sphere 카메라의 undistortion에 대해 설명해보고자 한다. 결론부터 말하자면, UCM 카메라와 DS 카메라는 distortion이 큰 의미가 없다. 애초에 UCM와 DS 모델은 3차원 구를 이용해 모델의 표현력을 높였기 때문에 distortion이 크게 나오지 않는다. 모델 자체에 distortion이 최대한 내포되어있도록 설계되어 있다. UCM은 구를 이용해 표현하지 못한 부분을 살짝 커버하는 정도의 distortion이 필요하며, DS 모델은 distortion 자체가 없다. 사실 distortion 고려하지 않고 그냥 사용해도 웬만한 경..

Knowledge/Vision 2022.12.29

PyCharm 사용시, module 'io' has no attribute 'OpenWrapper' 문제

열심히 코딩하던 중 다음과 같은 오류가 나면서 파이참이 멈췄다. Fatal Python error: init_sys_streams: can't initialize sys standard streams Python runtime state: core initialized AttributeError: module 'io' has no attribute 'OpenWrapper' Current thread 0x00007fcc72266740 (most recent call first): 구글링했을 때 PYTHONPATH가 어쩌구 저쩌구 나오는데 원인은 단순하다. 현재 프로젝트 내에 io 라는 이름의 폴더나 파일이 있기 때문이다. 해당 파일을 Refactor 해주면 간단히 해결된다. 한참 시간 쓴게 허무하다.

Camera undistortion (pinhole, KB model)

이전 글 2022.12.07 - [Knowhow] - Fisheye camera model(KB, UCM, DS 모델) 에서 다음과 같은 논문의 말이 이해가 안된다고 적은 바 있다. We propose the Double Sphere (DS) camera model that better fits cameras with fisheye lenses, has a closed-form inverse, and does not require computationally expensive trigonometric operations. 특히나, "a closed-form inverse"가 무엇인지 이해가 안되었는데, 카메라 모델 전반에 대해 조금 더 공부해보고 코드를 구현하던 중 unprojection을 정확하게 구할..

Knowledge/Vision 2022.12.20