본문 바로가기

Study/머신러닝7

docker 에서 한국어 설정하기 docker에서 프로그램을 수행할 때 한국어 파일명은 언어 설정해주지 않으면 read 에러가 난다 warning: setlocale: LC_ALL: cannot change locale (ko_KR.utf8): No such file or directory docker image 만들때 ENV LC_ALL ko_KR.UTF-8 설정이 먹히지않아서 직접 container로 들어가 설치해주었다 docker container에 들어가서 apt-get install --reinstall locales && dpkg-reconfigure locales 298 , 3 입력 vi ~/.bashrc export LANGUAGE=ko_KR.UTF-8 export LANG=ko_KR.UTF-8 이렇게 하고 다시 이미지로 .. 2020. 2. 5.
Keras에서 binary_crossentropy와 categorical_crossentropy 차이 바이너리 classification 문제를 풀려고하면 둘 중 어떤걸 써야하나.. 뭐가 다른가 궁금해서 찾아보았다 우선 binary_crossentropy 소스 def binary_crossentropy(target, output, from_logits=False): """Binary crossentropy between an output tensor and a target tensor. # Arguments target: A tensor with the same shape as `output`. output: A tensor. from_logits: Whether `output` is expected to be a logits tensor. By default, we consider that `outpu.. 2019. 12. 16.
Depthwise Separable Convolution 이해 이것만으로는 약간 헷갈려서 구글링해서 좀 더 찾아보았다. https://heartbeat.fritz.ai/building-an-image-recognition-model-for-mobile-using-depthwise-convolutions-643d70e0f7e2 Building an Image Recognition Model for Mobile using Depthwise Convolutions Deep Learning algorithms are excellent at solving very complex problems, including Image Recognition, Object Detection, Language… heartbeat.fritz.ai 이 링크 보고 이해함 C: 채널 수 N: 필터.. 2019. 12. 5.