I stumbled upon trying Pylearn 2

Introduction

Environment

python

pip install theano

python

pip install pillow
pip install PyYAML
pip install IPython
pip install Cython

git clone git://github.com/lisa-lab/pylearn2.git
python setup.py develop

Where I was addicted to so far

python

ImportError: No module named numpy

python

===============================
00001	#include <Python.h>
00002	#include "structmember.h"
00003	#include <sys/time.h>
~~~~~~~~~Abbreviation~~~~~~~~~
Exception: Compilation failed (return status=1): /Users/user-name/.theano/compiledir_Darwin-14.5.0-x86_64-i386-64bit-i386-2.7.8-64/lazylinker_ext/mod.cpp:1:10: fatal error: 'Python.h' file not found. #include <Python.h>.          ^. 1 error generated.. 

Run

procedure

  1. Collect images of the same size
  1. Use a script to grayscale & csv
  1. Learn
  1. Display the learning results

Where I was addicted to so far

Learning time

Display (drawing) of learning results

UserWarning: Unable to import matplotlib. Some features unavailable. Original exception: No module named matplotlib.pyplot "Original exception: " + str(matplotlib_exception)) ```

References

http://kensuke-mi.xyz/kensuke-mi_diary/2014/11/rbma.html http://d.hatena.ne.jp/aremokoremo/20140507/1399475248

Recommended Posts

I stumbled upon trying Pylearn 2
What I stumbled upon using Airflow
I stumbled upon installing sentencepiece on ubuntu
I stumbled upon using MoviePy, so make a note
I stumbled upon PyUnicodeUCS4_FromStringAndSize when inserting TensorFlow with pip
Where I stumbled on SQLite3
What I stumbled upon when using CodeIgniter on a Linux server
A memorandum because I stumbled on trying to use MeCab in Python