목록스킬 (21)
The Beautiful Future
1. Add the following script in your blog html head block 2. Make your equation using Online latex equation editor https://www.codecogs.com/latex/eqneditor.php 3. Create new post and edit like this A univariate quadratic function has the from \( f(x) = ax^2 + bx + c, a \neq 0 \) Roots of the univariate function \( x= \frac{-b \pm \sqrt{b^2 - 4ac} }{2a} \) \( g(x) = ax^2 \) and \( h(x) = x-c \) ce..
기본적인 명령어 git --version 현재 git의 버전을 확인합니다. git init 현재 디렉토리에 git 저장소를 생성합니다. git add 파일명 git add는 2가지를 하는데 untracked files의 파일들을 git가 추적하도록 하거나 파일은 수정했지만 아직 스테이징 영역에 올라가지 않은(Changed but not updated) 파일들을 스테이징 영역에 올립니다. -i 옵션을 주면 대화형모드가 시작되며 파일의 일부분만 선택해서 스테이징하는 것이 가능합니다. -p 옵션을 사용하면 -i 대화형모드없이 바로 패치모드를 사용할 수 있습니다. git commit -m "커밋메시지" 스테이징 영역에 올라가 있는 파일들을 커밋합니다. -m 은 커밋메시지를 주는 옵션으로 여러 줄의 커밋메시지를 ..
import os from flask import Flask from flask import render_template from flask import Flask, request, redirect, url_for from werkzeug import secure_filename import uuid import cv2 import numpy as np UPLOAD_FOLDER = 'static/tmp/input' RESULT_FOLDER = 'static/result' ALLOWED_EXTENSIONS = set([ 'png', 'jpg', 'jpeg', 'bmp']) app = Flask(__name__, static_folder="static") app.config['UPLOAD_FOLDER'] =..
# 설치 sudo apt-get update sudo apt-get -y install docker.io # -y 옵션은 설치 물음에 무조건 yes로 설치하겠다는 의미 sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker # 링크 생성 -s 심볼릭, -f froce # sed는 stream editor # -i inplace sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io sudo update-rc.d docker.io defaults # 도커 버전 sudo docker version # 다운로드 도커 컨테이너 sudo docker pull ubuntu # 도커실행 sudo d..
- unix 설치 sudo apt-get install liblapack-dev libf2c2-dev - windows 설치 http://icl.cs.utk.edu/lapack-for-windows/lapack/index.html#build LAPACK for Windows LAPACK for Windows What do you need? To run LAPACK on Windows? To run a program calling a LAPACK routine under Windows? Please follow this extensive guide provided by one of our user. To build LAPACK libraries under Windows? You will need to in..
ssh soulhyuk@ml1.snowcorp.com#vnc- XRDP 란통신프로토콜제공해준다.포트번호는 3389설치$sudo apt-get install xrdp- vnc 서버참고한 블로그https://blog.naver.com/PostView.nhn?blogId=engcang&logNo=221189076518&redirect=Dlog&widgetTypeCall=true&directAccess=false- 설치$sudo apt-get install gnome-panel vnc4server-처음 실행 시 비번 설정, 실행할때마다 접속 가능한 디스플레이를 생성한다. 나중에 접속시 IP:1 or IP:2 이런식으로 번호를 이용 접속가능하다.$vnc4server- 비번 바꾸기$vncpassswd- 서버종료, ..
## 참고 싸이트-왕초보 깃https://nolboo.kim/blog/2013/10/06/github-for-beginner/- 명령어 총정리https://blog.outsider.ne.kr/572 ### Git 설치$sudo apt-get install git-core ### 환경설정$git config --global --list$git config --global user.name "xxxx"$git config --global user.email "xxxx@naver.com"$git config --global color.ui "auto" ### 원리** project file -> stage -> commit ** .gitignore file : 관리 안할 파일 리스트** HEAD는 현재 브랜치..
### Introduction그동안 우분투에서 메모장 같은 gedit으로 간단한 코딩만하다가 괜찬은 툴 알아봐야지 알아봐야지만 하다가 드디어 사용하기로 맘먹고 찾아보던 중 !Atom이란 editor를 선택했다. 이유는 일단 Ubuntu에서 SouceTree라는 아주 널리 사용되고 있는 Git연동툴이 지원안되는데 지원을 어느정도 해줘서그리고 유아이가 맘에든다.그리고 Github에서 개발된 IDE라고해서 좀 신뢰가 가서이다. ### How to installhttp://tipsonubuntu.com/2016/08/05/install-atom-text-editor-ubuntu-16-04/ ## 단축키 정리ctrl+, : settingsctrl+shift+p: search allctrl+9: git 설정창 ##..
## 파일리스트 만들기find /home/file_directory > file_list.txt ## 폴더안에 파일개수 세기$ ls folder_location | wc -l ## tar options-c : 파일을 tar로 묶음-p : 파일 권한을 저장-v : 묶거나 파일을 풀때 과정을 출력-f : 파일이름을 지정-x : 압축풀기-z : gzip으로 압축하거나 해제함-C : 경로를 지정 ## tar를 이용한 자료 복사$ tar cvf - . | (cd /new ; tar xvf -) ## tar 압축 풀기$ tar -xvf xxx.tar -C /destination$tar -xvzf xxx.tar.gz -C /destination$tar -xzvf xxx.tgz -C /destination ## tar..
BxRxC = Im2colLayer(BxCxHxW) BxD = ReshapeLayer(BxRxC) BxD1 = InnerProductLayer(BxD) BxC1xH1xW1 = ReshapeLayer(BxD1)
#include #include #include #include int _tmain(int argc, _TCHAR* argv[]){const int nData = 10;const int nDataSize = nData*sizeof(float);const int nDataSizeAlign = ((nDataSize+15)/16)*16; float* a = (float*)_aligned_malloc(nDataSizeAlign, 16);float* b = (float*)_aligned_malloc(nDataSizeAlign, 16);float* result = (float*)_aligned_malloc(nDataSizeAlign, 16); memset(a, 0, nDataSizeAlign);memset(b, 0..
a = [41.50, -70.95]; b = [ 41.80 , -70.50]; % straight line function from a to b func = @(x)a(2) + (a(2)-b(2))/(a(1)-b(1))*(x-a(1)); % determine the x values x = linspace(a(1),b(1),50); % determine the y values y = func(x); % create the figure figure; % get a handle to a plot graphics object hPlot = plot(NaN,NaN,'ro'); % set the axes limits xlim([min(a(1),b(1)) max(a(1),b(1))]); ylim([min(a(2),b..
vs2013 설치 아래 링크 코드 수정https://hemprasad.wordpress.com/2015/04/30/building-vtk-with-visual-studio-2013/ Building VTK5 with Visual StudioDownloadDownload VTK 5.10.1 the (VTK-5.10.1.zip) to unzip the file. (C: \ VTK-5.10.1)Http://Www.Vtk.Org/VTK/resources/software.Html#previous Https://Github.Com/Kitware/VTK/tree/v5.10.1CMakeYou want to specify the destination of the input destination and solution f..
miniconda을 설치하는게 윈도우즈용으로 이미 다 빌드되있고 패키지도 들어가 있어서 편하다 http://conda.pydata.org/miniconda.html >pip install ipython>pip install ipython notebook노트북 저장 할 폴더 생성 및 이동해서>ipython notebook이렇게하면 브라우저에 jupyter가 떠야한다. scipy 설치 >conda install scipy pandas 설치 > conda install pandas 엑셀 파일 읽기 openpyxl, xlrd/xlwt 설치> pip install openpyxl/xlrd/xlwthttp://pandas.pydata.org/pandas-docs/stable/install.html ipython n..
caffe.proto optional DetectNetGroundTruthParameter detectnet_groundtruth_param = 6801; optional DetectNetAugmentationParameter detectnet_augmentation_param = 6802; detectnet_transform_layer.hppdetectnet_coverage.hpp detectnet_transform_layer.cppdetectnet_coverage_rectangular.cpp
long LoadFileList( string _strFolderPath, vector& strvExt, vector& vFileList){string strFolderPath = _strFolderPath; // 폴더 안에 있는 모든 영상을 로드한다.WIN32_FIND_DATAFindData;HANDLEhFind= INVALID_HANDLE_VALUE;charszFindFile[MAX_PATH]= {0,};charszFileName[MAX_PATH]= {0,};charszOnlyFileName[MAX_PATH]= {0,};charszExt[MAX_PATH]= {0,};strcpy(szFindFile, strFolderPath.data());strcat( szFindFile, "\\*.*"); hFind..
find /home/file_directory > file_list.txt
refer : http://stackoverflow.com/questions/29670548/covariance-calculation-with-cuda Your code does not make any sense to me.Covariance calculation in CUDA can be easily performed by using cuBLAS in conjunction with Thrust. Considering N realizations of K random variables, the covariance estimation formula is the followingwhere qjk, j,k=1,...,K are the covariance estimate values, Xj and Xk with ..
refer : http://stackoverflow.com/questions/17401765/parallel-implementation-for-multiple-svds-using-cuda My previous answer is now out-of-date. As of February 2015, CUDA 7 (currently in release candidate version) offers full SVD capabilities in its cuSOLVER library. Below, I'm providing an example of generating the singular value decomposition using CUDA cuSOLVER.Concerning the specific issue yo..
윈도우즈에서 리눅스용 드라이브접근하기 http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/ - 최신폴더로 들어가서 exe버전을 다운로드 후, next/next누르며 설치 - 재부팅없이 실행하면 파일시스템이 EXT3/4인 드라이브가 보임 - 그걸 더블클릭하고 -- Mount volume in readonly mode 해제(쓰기가능해짐) -- Automatically mount via Ext2Mgr 체크하고 표시 드라이브명 선택(윈도우즈에 마운트됨) -- Apply 하드웨어 및 소리->전원 옵션->전원 단추 작동 설정->현재 사용할 수 없는 설정 변경/빠른 시작 켜기(권장)을 uncheck->변경 내용 저장 2. ubuntu부팅하면 디스크들에 접근할 수 있음.