반응형



** 설치된 모듈의 위치정보 등 알아내기


    --  pip show  설치된모듈이름



 



TensorFlow on Windows: “Couldn't open CUDA library cudnn64_5.dll”




First of all, note that cuDNN is not distributed with the rest of the CUDA toolkit, so you will need to download it separately from the NVIDIA website. On Windows, it is distributed as a ZIP archive, so you must extract it and find the directory containing cudnn64_5.dll. For example, if you extract it to C:\tools\cuda, the DLL will be in C:\tools\cuda\bin\cudnn64_5.dll. Finally, you can add it to your path by typing the following at the command prompt:


C:\> set PATH=%PATH%;C:\tools\cuda\bin

C:\> python

...

>>> import tensorflow as tf


 

 I didn't have such issues with TensorFlow 0.12.1 (installed with pip install tensorflow==0.12.1):

 



---------------------------------------------------------------------------------

KNL

---------------------------------------------------------------------------------


matplotlib install  -  http://matplotlib.org/faq/installing_faq.html


> pip install matplotlib


or 


> git clone git://github.com/matplotlib/matplotlib.git

> cd matplotlib

> python setup.py install

> python setup.py develop


matplotlib test 

http://matplotlib.org/faq/howto_faq.html#how-to-search-examples


---------------------------------------------------------------------------------


konlpy install - http://konlpy.org/ko/v0.4.3/install/


> pip install --upgrade pip

> pip install JPype1-0.5.7-cp27-none-win_amd64.whl


> pip install konlpy


Binary Install

Ensure you have installed Anaconda/Miniconda. Instructions can be found here.

Install from the conda-forge software channel:


conda install -c conda-forge jpype1


$ pip install wheel


jpype  download : http://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype


---------------------------------------------------------------------------------


JAVA_HOME 설정 

java 설치 - http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


환경변수 - JAVA_HOME  C:\Program Files\Java\jdk1.8.0_121


---------------------------------------------------------------------------------


To install this package with conda run: https://anaconda.org/anaconda/gensim


> conda install -c anaconda gensim=1.0.1


To install this package with conda run: https://anaconda.org/anaconda/scipy


> conda install -c anaconda scipy=0.19.0



---------------------------------------------------------------------------------


sklearn install


https://sourceforge.net/projects/scikit-learn/files/


sklearn test 

http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html


---------------------------------------------------------------------------------


Activate the conda environment by issuing the following command:


C:> activate tensorflow

 (tensorflow)C:>  # Your prompt should change 




예제 :: 

Saved model checkpoint to D:\PythonProject\cnn-text-classification-tf-master\runs\1490667625\checkpoints\model-1000



word2vec_example - https://gist.github.com/solaris33/8ce9913dea1aa4225876cbcfdd2963be#file-word2vec_example-py



Pycharm & tensorflow & Anaconda = http://yeramee.tistory.com/1


anaconda > tensorflow install : http://www.lfd.uci.edu/~gohlke/pythonlibs/#tensorflow





starting jupyter notebook

> jupyter notebook 

or 

> jupyter notebook --port 9999





5-1. 텐서플로우(TensorFlow)를 이용해 자연어를 처리하기(NLP) – Word Embedding(Word2vec) :: http://solarisailab.com/archives/374


jupyter notebook 사용하기 : http://goodtogreate.tistory.com/entry/IPython-Notebook-%EC%84%A4%EC%B9%98%EB%B0%A9%EB%B2%95




.

반응형
반응형

인생의 발견 - 우리 삶을 가치 있고 위대하게 만드는 28가지 질문 

인생의 발견
국내도서
저자 : 시어도어 젤딘(Theodore Zeldin) / 문희경역
출판 : 어크로스 2016.12.15
상세보기


언플래트닝, 생각의 형태 

언플래트닝, 생각의 형태
국내도서
저자 : 닉 수재니스(Nick Sousanis) / 배충효역
출판 : 책세상 2016.09.10
상세보기






.

반응형
반응형

사람은 스스로 자신의 약점을 보완해 강점으로 키울 수 있는 존재다.

동물이나 식물은 그 약점 때문에 도태되지만 인간은 다르다.

핸디캡을 극복하고 선도자가 되는 예가 많다.

위대한 콤플렉스라 할 수 있다.

- ‘CEO 박도봉의 현장 인문학’에서 


심리학자 알프레드 아들러는 ‘인간이 위대한 성과를 이루는 것은

태어날 때부터 완벽하고 우월한 능력을 부여 받아서가 아니라,

오히려 열등한 부분을 자각하고 극복하기 위한 노력의 결과’라 말했습니다.

나폴레옹도 ‘나폴레옹 콤플렉스’라 불렸던 작은 키를 극복하려고

남들보다 더 많이 노력해서 영웅으로 거듭났습니다.



.

반응형
반응형

이렇게 

한 번 생각해 보세요. 

버릴 수 있는 것은 버리고,

버릴 수 없는 것은 안고 간다. 

해결되지 않은 채로 끌어안는다. 

머리로 배우려 하지 말고 몸으로 익히자.

막상 해보면 불안과 공생하는 것도

그리 어려운 일이 아니란 걸 

알 수 있을 것입니다. 



- 히라이 쇼수의《좌선을 권하다》중에서 -



* 몸은 말합니다.

내가 들 수 있는 무게인지

도저히 들 수 없는 무거운 것인지...

욕심이나 불안은 몸과 머리의 부조화에서 

비롯됩니다. 몸이 말하는 것을 제대로 듣지 않고

머리로만 생각하고 움직이면, 해결되지 않은 것을

끌어안은 채로 힘겹게 살아가게 됩니다.   

생각을 내려놓고 몸으로 익히세요.



.

반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

'스트레스 어벤저스'  (0) 2017.03.30
내 젊은 날을 반성한다  (0) 2017.03.29
중요한 것은 사람이다  (0) 2017.03.27
한계의 벽  (0) 2017.03.27
생명을 먹다  (0) 2017.03.24

+ Recent posts