python Pillow 설치 시 에러

running build_ext The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most…

0 Comments

Build dlib with GPU on Jetson

$ git clone https://github.com/davisking/dlib.git $ cd dlib $ mkdir build; cd build; $ cmake .. -DCUDA_HOST_COMPILER=/usr/bin/gcc -DCMAKE_PREFIX_PATH=/usr/lib/aarch64-linux-gnu/ -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 -DUSE_F16C=1 $ sudo python3 setup.py install

0 Comments

ubuntu 18.04 opencv build on jetson

Jetpack 4.2는 Ubuntu 18.04로 되어 있어서 해당 버전에 맞는 OpenCV build 방법이 필요하다. 다음 링크의 스크립트를 참고하여 빌드를 했다. https://github.com/AastaNV/JEP/blob/master/script/install_opencv4.0.0_Nano.sh #!/bin/bash # # Copyright (c) 2018, NVIDIA CORPORATION. All rights…

0 Comments

Ubuntu 18.04 desktop sharing configuration for nvidia jetson

jetson에 설치된 ubuntu 18.04에서는 desktop sharing이 제대로 동작하지 않는다. VNC 접속을 위해 desktop sharing 설정이 필요한데 제대로 동작하지 않아 다음과 같은 수정 작업을 했다. $sudo vi /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml 위 파일에 다음과…

1 Comment

뜬금 없는 규칙이 사회적 규범이 되는 과정

회사 교육 과정 중 다음 영상을 보게 됐다. 영상의 제목은 "뜬금 없는 규칙이 사회적 규범이 되는 과정"이다. https://www.youtube.com/watch?v=dtSVwIZcp6w&feature=youtu.be 영상을 보면 일순간 웃음이 나온다. '설마 아무도 강요하지 않았는데 저런 멍청한 짓을…

0 Comments

docker 기본 명령어 정리

Docker 컨테이너 전체 삭제 $ docker rm $(docker ps -a -q) Docker 이미지 전체 삭제 $ docker rmi $(docker images -q) Docker 이미지 이름 변경 $ docker tag old_name:old_tagname new_name:new_tagname…

0 Comments

Mac OS Homebrew 설치 시 인증서 에러

Homebrew 설치 시 다음과 같은 에러가 발생했다. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" curl: (60) SSL certificate problem: Untrusted root certificate More details here: https://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification…

0 Comments