ffmpeg 을 이용해 동영상 합치기 a.mp4 파일과 b.mp4 파일이 있는데, 이 둘을 합하여 하나의 파일 c.mp3 를 만들려고 한다면.. 방법은 다양하나 내가 사용하기 쉬웠던 방식은 합칠 파일 목록 파일을 만드는 방법이다. > cat files.txt file 'a.mp4' file 'b.mp4' > ffmpeg -f concat -i files.txt -c copy c.mp4 Bite Bits/Windows Tips 2018.09.14
밑바닥부터 시작하는 딥러닝(Deep Learning from Scratch) - 4장 신경망 학습 학습이란 훈련 데이터로부터 가중치 매개변수의 최적값을 자동으로 획득하는 것. 신경망이 학습할 수 있도록 해주는 지표인 손실함수 손실 함수의 결과값을 가장 작게 만드는 가중치 매개변수를 찾는 것이 학습의 목표 (손실 함수는 임의의 함수를 사용할 수도 있지만 일반적으로는 평.. Bite Bits/Data Science 2018.08.24
한국어 문서 데이타 딥러닝 실습 (feat. doc2vec, mecab-ko) doc2vec 에 대한 강좌 혹은 학습 가능한 글을 찾아보다가 어떤 분의 연재글이 있어 그것을 바탕으로 실습을 진행하는 과정에 대한 내용. 1. 한국어 위키피디아 덤프 다운로드 받기 http://kugancity.tistory.com/entry/한국어-위키피디아-덤프-다운로드-받기 위키피디아 데이터베이스 다운받기 : https:/.. Bite Bits/Data Science 2018.08.01
Python 소스 인코딩 정의하기. Defining the EncodingPython will default to ASCII as standard encoding if no other encoding hints are given. To define a source code encoding, a magic comment must be placed into the source files either as first or second line in the file, such as: # coding=<encoding name> or (using formats recognized by popular editors): #!/usr/bin/python # -*- coding: <encoding name&.. Bite Bits/Python 2018.07.18
Debian 9 stretch 에서 mariadb-server 설치 $ sudo aptitude install mariadb-server ... (생략) ... Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service. Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service. Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service. mariadb-server (10.1.26.. Bite Bits/Debian 9 2018.02.12
[R] R 에서 excel 파일 읽어오기 install.packages('readxl') library(readxl) * 참고 : - readxl 패키지, read_excel() 함수, http://rfriend.tistory.com/313 Bite Bits/R 2018.02.07
[R] Time Series Representations in R * 참고 : - Time Series Representations in R, https://petolau.github.io/TSrepr-time-series-representations/ Bite Bits/R 2018.02.02
debian 9 에서 pip.conf 위치 python3 의 pip3 로 설치된 패키지 목록을 보려니 아래와 같이 문구가 나온다. php.conf 에 format 관련 설정을 하면 경고문구가 안나온다는데, 위치가 어딘지.. $ pip3 list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf unde.. Bite Bits/Debian 9 2018.01.25
[Debian 9 stretch] ibus 에 서 한글 입력 후 space 입력 시 순서가 바뀌는 문제 Raspbian jessie 에서 아무런 문제가 없었던 ibus 가 Debian 9 stretch 에서 문제가 생긴다. 한글을 입력 후, space를 넣으면 먼저 입력했던 한글 앞에 공백이 생기는 것. 찾아보니 ibus-hangul 문제다. 아니다. ibus 자체의 특성 때문이다. 말이 있는데, 어쨋든 난 해결을 해야하니, ubuntu 에서 문제없어 보이.. Bite Bits/Debian 9 2018.01.23
debian 9 stretch , 유선 lan 설정 네트워크 설정 관련 파일은 /etc/network/interfaces 이다. 현재 네트워크 상태를 알기 위해 예전에 사용하던 ifconfig 명령을 사용했는데, 명령어가 없기에 이래저래 찾아보니.. 이건 사용 권장 명령이 아니고 ip address 라는 것을 사용하란다. (물론 설치하면 사용할 수 있다. - 기본 설치 대상은 아.. Bite Bits/Debian 9 2018.01.12