본문 바로가기

분류 전체보기

(51)
[Python] [Keras] Keras scratch graph Keras를 사용한 모델을 사용하다 보면 가끔 뻘건 글씨로 Function call stack: keras_scratch_graph Error 라뜨며 에러가 납니다. 자세한 원인은 모르겠으나 https://stackoverflow.com/questions/57062456/function-call-stack-keras-scratch-graph-error Function call stack: keras_scratch_graph Error I am reimplementing a text2speech project. I am facing a Function call stack : keras_scratch_graph error in decoder part. The network architecture is fro..
[Python] dlib 설치하기. 2021. 03. 17 수정 근 수개월 동안 가장 많은 페이지 방문이 있었지만, 내용상 대충대충 써 내린 부분이 많아 새로 수정. - 가상환경생성 dlib을 설치할 가상환경을 만들었습니다. 가상환경이름은 dlib으로 했으나 필요하다면 바꾸시면 됩니다. 이미 생성하였다면 넘어가세요. conda create env -n dlib conda activate dlib 별생각없이 만들었더니 3.9.2 로 되었습니다. 설치에는 상관 없는것 같습니다. - 라이브러리 설치 pip install cmake pip install opencv-contrib-python dlib 많은 경고가 뜨지만, 다시 입력 한국인이면 참을수 없을만큼의 시간이 흐르고 설치가 완료 됩니다. 버전확인까지 잘됩니다. 수정이전글 더보기 인터넷 예..
[20/07/02, JAVA ] if 문 사용하기 package Test123; import java.util.Scanner; public class Test { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String strMsg; while(true) { System.out.println("숫자를 입력하세요 : "); strMsg = scan.nextLine(); int no1; try { no1 = Integer.parseInt(strMsg); //1번 if(no1>50) {System.out.println(no1+"은 50보다 큼");} else if(no1 0) {System.out.println(strMsg + "은 양수 입니다.");} else..