Posts
Know How & Where
Cancel

Symbolic link in Ubuntu Create symbolic link ln -s <TARGET> <LINK_NAME> Ex) libexample.so.3.1.0 파일에 대한 심볼릭 링크로 libexample.so 를 생성하고함 ln -s libexample.so.3.1.0...

Make tar file module with Python 작성 개요 작업 공간 내에 여러 파일을 압출 할 경우 Python glob 모듈을 사용하여 여러 폴더를 각자 폴더명에 맞게 tar 압축 진행 Script filename.tar import tarfile import os from glob import glob from tqdm impor...

Python unzip module with 한글 작성 개요 Open dataset를 다운받아 사용할 때 여러개의 zip 파일이 존재할 경우 압축 해제하는게 번거롭다. 데스크탑과 같이 화면이 출력되는 경우에는 불편함이 없지만, 서버에서 작업할 경우 일일이 unzip을 해야하는 것 같아 그냥 python module을 작성하여 사용했다. unzi...

zip 명령어 실행 시 다음과 같은 에러 발생하면 The program 'zip' is currently not installed. You can install it by typing: sudo apt install zip sudo apt install zip zip 압축 방법 단일 폴더 압축 zip [ zipname.zip ] -...

Google Spread sheet & Auto send to mail 1. Google API registration 2. Name the scope in google spread sheet 전송하고자 하는 범위를 지정해야한다. 상단의 데이터 탭 이름이 지정된 범위 범위 추가 Stock 제목 ...

TensorRT Runtime Example 1. Export TensorRT

TensorRT runtime install 1. TensorRT runtime installation TensorRT Download cd ~/Downloads/ tar -xvf TensorRT-*.Ubuntu-*.x86_64-gnu.cuda-11.1.cudnn8.1 cd TensorRT-* pip3 install python/tensor...

ONNX Runtime Example 1. Export ONNX pytorch static batch size 고정된 batch size의 onnx모델로 변환하는 방법은 input tensor의 shape을 넣어줄 때 원하는 size의 batch를 설정해서 export해주면 된다. 모델은 기본적으로 pytorch에서 제공해 주는 resne...

ONNX runtime install 1. Install essential packages required for ONNX runtime installation sudo apt update && sudo apt upgrade -y && sudo apt install -y --no-install-recommends \ ...

ROS Multi-device connected setting 1. Host IP and Client IP check Host ifconfig enp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.55 netmask 255.255....