Useful command 썸네일형 리스트형 TMUX 명령어/Command 모음 Create Session $ tmux # numbers starting from 0 automatically assigned to the created session for its name or $ tmux new -s [name] Kill Session $ tmux kill-session -t [name] Hide & Visible Session $ ctrl + b + d # hide $ tmux attach -t [name] # visible Check Current Sessions $ tmux ls Create a new tab on the current session $ ctrl + b + c Move to another tab $ ctrl + b + [tab number] 더보기 nvidia-docker 1. Notations a) image: a bag of programs, which you want to run in a container. The programs can be 'tensorflow', 'python' 'opencv' etc.b) container: kinds of virtual machine you run in your real machine 2. How to use docker? step1) You first create a container with one image using the following command$ nvidia-docker run -it -d -p 8888:8888 --name container_name -v /data:/data image_name you ca.. 더보기 nvidia docker commands # DOCKER 사용법 --------------------------------->> putty로 서버에 접속 IP: 129.254.121.81, PORT: 22 --------------------------------->> super user login $ sudo su --------------------------------->> docker image 확인 $ nvidia-docker images --------------------------------->> container 생성& 폴더 마운트 $ nvidia-docker run -it -d -p (OS포트):8888 --name container_name -v /data:/data docker_image_id ex) nvidia-docke.. 더보기 Useful command 1. compile cpp file that includes opencv library path using g++$ g++ test.cpp -o test `pkg-config --cflags --libs opencv` 2. build cpp file using bazel~tensorflow) $ bazel build tensorflow/project/... 3. remove folder command (ubuntu)$ sudo rm -r foldername 4. data type change pythona = np.zeros(10) # floata_ = a.astype('int8') # int8 5. python sqrt functionimport matha = math.sqrt(4)print(a)-> .. 더보기 이전 1 다음