AttributeError: module '_jpype' has no attribute 'setResource'
한국어 전처리 konlpy 관련 아주 개 빡치는 오류이다. 무슨 JPype ~~~~ 오류 해결방법은 재설치 이다. 참고로 python 3 버전임. 오해 없길 바라면서 버전 확인법은 터미널에서 python --version을 하면 된다. sudo pip3.6 uninstall konlpy sudo pip3.6 uninstall JPype1 sudo pip3.6 uninstall JPype1-py3 sudo pip3.6 uninstall lxml 재 설치 sudo pip3.6 install konlpy sudo pip3.6 install lxml
Machine Learning/NLP
2019. 2. 11. 11:40
torchtext 정리
torchtext란?- nlp에 필요한 pytorch 모듈이다. 1.TabularDataset-> path, format, field로 구성이 되어있으며 filed는 column 형식으로 객체 생성을 하게 된다.-> format은 csv,tsv,json 형식의 파일이 있다. TEXT.build_vocab를 사용했을때, pretrained 된 model들은 https://github.com/pytorch/text/blob/v0.2.1/torchtext/vocab.py#L379여기서 어떤 모델을 받는지 확인할 수 있다.
Machine Learning
2019. 1. 14. 13:54
Pi Camera 초기 셋팅
http://blog.xcoda.net/98
Machine Learning/raspberry PI
2018. 11. 1. 11:38