courses:2017:installation_guide

Writing /home/fac/arijit/public_html/dokuwiki/data/cache/8/8a51dc628c83f891047cb8a113beecb7.metadata failed
Writing /home/fac/arijit/public_html/dokuwiki/data/cache/8/8a51dc628c83f891047cb8a113beecb7.xhtml failed

Installation guide for Keras

Step 1. An easy way to install most of the dependencies is to install Anaconda.
		- Download page https://www.continuum.io/downloads
			--install
					bash Anaconda2-4.2.0-Linux-x86_64.sh 
					
			--allow set up path at the end of installation
			

Step 2. Check PATH variable echo $PATH.
		- If not set, then set the path in .bashrc file.
				--export PATH="/home/niraj/anaconda2/bin:$PATH"
		- Restart terminal and check again.


Step 3. Installing theano using pip command
		- If pip not installed, install it.
			-- https://pip.pypa.io/en/stable/installing/
		- pip install Theano

Step 4. install additional dependency
		-conda install pydot-ng

Step 5. install nose-parameterized
		-pip install --user nose-parameterized

Step 6. running test
		-python -c "import theano; theano.test()"
			--ok(about 30min)
	
Step 7. installing keras using pip
		-pip install keras

Step 8. edit .json file

		~/.keras/keras.json.
		
		{
		"image_dim_ordering": "th",
		"epsilon": 1e-07,
		"floatx": "float32",
		"backend": "theano"
		}
		
Step 9. check keras installation
		-python -c "import keras; print keras.__version__"
  • courses/2017/installation_guide.txt
  • Last modified: 2017/02/12 11:56
  • by arijit