<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Frameworks on My Notes</title><link>https://harryho.github.io/frameworks/</link><description>Recent content in Frameworks on My Notes</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 07 Dec 2016 16:56:21 +1100</lastBuildDate><atom:link href="https://harryho.github.io/frameworks/index.xml" rel="self" type="application/rss+xml"/><item><title>CNTK Note - 1</title><link>https://harryho.github.io/frameworks/cntk-notes-1/</link><pubDate>Wed, 07 Dec 2016 16:56:21 +1100</pubDate><guid>https://harryho.github.io/frameworks/cntk-notes-1/</guid><description>&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;You are using Windows 7 or higher version&lt;/li&gt;
&lt;li&gt;You are using Anaconda to setup the environment&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="create-cntk-virtual-environment"&gt;Create CNTK virtual environment&lt;a class="anchor" href="#create-cntk-virtual-environment"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="use-follow-command-to-remove-existing-virtual-environment"&gt;use follow command to remove existing virtual environment&lt;a class="anchor" href="#use-follow-command-to-remove-existing-virtual-environment"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt; conda remove -n cntk --all
 conda create -n cntk 
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="activate-virtual-environment-and-install-cntk"&gt;Activate virtual environment and install CNTK&lt;a class="anchor" href="#activate-virtual-environment-and-install-cntk"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;activate cntk
pip install https://cntk.ai/PythonWheel/CPU-Only/cntk-2.0rc3-cp36-cp36m-win_amd64.whl
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="test-cntk"&gt;Test CNTK&lt;a class="anchor" href="#test-cntk"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;python
&amp;gt;&amp;gt;&amp;gt; import cntk
&amp;gt;&amp;gt;&amp;gt; cntk.__version__
'2.0rc3'
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Tensorflow Note - 1</title><link>https://harryho.github.io/frameworks/tensorflow-notes-1/</link><pubDate>Wed, 07 Dec 2016 16:56:21 +1100</pubDate><guid>https://harryho.github.io/frameworks/tensorflow-notes-1/</guid><description>&lt;blockquote class='book-hint '&gt;
&lt;p&gt;TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML powered applications.&lt;/p&gt;
&lt;/blockquote&gt;&lt;h3 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;You are using Ubuntu 16&lt;/li&gt;
&lt;li&gt;Your machine has Nvidia GPU card installed&lt;/li&gt;
&lt;li&gt;If you are using Ubuntu 14, the installation of CUDA and cuDNN will be a bit different. Please check Google&amp;rsquo;s instructions.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="install-python3-and-pip3"&gt;Install python3 and pip3&lt;a class="anchor" href="#install-python3-and-pip3"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://harryho.github.io/os/ubuntu/server-14"&gt;Please find instructions here&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="install-virtualenv-via-pip3"&gt;Install virtualenv via pip3&lt;a class="anchor" href="#install-virtualenv-via-pip3"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;pip3 install virtualenv
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="create-two-tensorflow-virtualenvs"&gt;Create two tensorflow virtualenvs.&lt;a class="anchor" href="#create-two-tensorflow-virtualenvs"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;mkdir ~/.envs
virtualenv --system-site-packages ~/.envs/tf ### CPU only
virtualenv --system-site-packages ~/.envs/tfgpu ### GPU enabled
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="install-tensorflow-for-different-virtualenvs"&gt;Install tensorflow for different virtualenvs&lt;a class="anchor" href="#install-tensorflow-for-different-virtualenvs"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;source ~/.envs/tf/bin/activate
source ~/.envs/tfgpu/bin/activate

pip3 install tensorflow ### CPU only
pip3 install tensorflow-gpu ### GPU enabled
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="install-cuda-and-cudnn-for-tensorflow-gpu"&gt;Install CUDA and cuDNN for tensorflow-gpu&lt;a class="anchor" href="#install-cuda-and-cudnn-for-tensorflow-gpu"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Use following command to check you GPU information&lt;/p&gt;</description></item><item><title>Tensorflow Note - 2</title><link>https://harryho.github.io/frameworks/tensorflow-notes-2/</link><pubDate>Wed, 07 Dec 2016 16:56:21 +1100</pubDate><guid>https://harryho.github.io/frameworks/tensorflow-notes-2/</guid><description>&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;You are using Windows 7 or higher version&lt;/li&gt;
&lt;li&gt;You are using Anaconda to setup the environment&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="install-anaconda"&gt;Install Anaconda&lt;a class="anchor" href="#install-anaconda"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;Anaconda® is a package manager, an environment manager, a Python/R data science distribution, and a collection of over 1,500+ open source packages. Anaconda is free and easy to install, and it offers free community support.&lt;/p&gt;
&lt;/blockquote&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.continuum.io/downloads"&gt;Please download Anaconda from the official site&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="create-tensorflow-virtualenv-with-python-35"&gt;Create tensorflow virtualenv with python 3.5&lt;a class="anchor" href="#create-tensorflow-virtualenv-with-python-35"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Anaconda uses python 3.6 by default. Tensorflow only supports python 3.5.&lt;/p&gt;</description></item><item><title>PHP Web Framework</title><link>https://harryho.github.io/frameworks/php-web/</link><pubDate>Thu, 11 Aug 2016 11:59:31 +1100</pubDate><guid>https://harryho.github.io/frameworks/php-web/</guid><description>&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;em&gt;Here we are going to explore some PHP web frameworks.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;h2 id="php-development-environment-setup"&gt;PHP development environment setup&lt;a class="anchor" href="#php-development-environment-setup"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="install-php-56x"&gt;Install PHP 5.6.x&lt;a class="anchor" href="#install-php-56x"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Please find the instruction from &lt;a href="https://harryho.github.io/#php"&gt;home page&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Composer&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="linux"&gt;Linux&lt;a class="anchor" href="#linux"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;curl -s https://getcomposer.org/installer | php --&lt;/code&gt; to install composer on Linux&lt;/li&gt;
&lt;li&gt;use &amp;lsquo;composer -v &amp;rsquo; to verify.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="windows"&gt;Windows&lt;a class="anchor" href="#windows"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Download the &lt;a href="https://getcomposer.org/download/"&gt;composer&lt;/a&gt; and install php on your PC&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;composer -v&lt;/code&gt; to verify the composer is ready.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="zend-framework"&gt;Zend Framework&lt;a class="anchor" href="#zend-framework"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;Zend Framework 2.x is a collection of 60+ packages for professional PHP development. It can be used to develop web applications and services using PHP 5.6+, and provides 100% object-oriented code using a broad spectrum of language features.&lt;/p&gt;</description></item><item><title>Python Web Framework</title><link>https://harryho.github.io/frameworks/python-django/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://harryho.github.io/frameworks/python-django/</guid><description>&lt;blockquote class='book-hint '&gt;
&lt;p&gt;Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.&lt;/p&gt;
&lt;/blockquote&gt;&lt;h2 id="install-python-pip-and-virtualenv"&gt;Install Python, pip and virtualenv&lt;a class="anchor" href="#install-python-pip-and-virtualenv"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Windows: Please find in from Home Page&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ubuntu: Please find it from &lt;a href="https://harryho.github.io/os/ubuntu/server-14"&gt;Ubuntu setup&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Python 3.4 (released March 2014) and Python 2.7.9 (released December 2014) ship with Pip.&lt;/p&gt;</description></item></channel></rss>