Showing posts with label example. Show all posts
Showing posts with label example. Show all posts

DeepDream a code example for visualizing Neural Networks



Two weeks ago we blogged about a visualization tool designed to help us understand how neural networks work and what each layer has learned. In addition to gaining some insight on how these networks carry out classification tasks, we found that this process also generated some beautiful art.
Top: Input image. Bottom: output image made using a network trained on places by MIT Computer Science and AI Laboratory.
We have seen a lot of interest and received some great questions, from programmers and artists alike, about the details of how these visualizations are made. We have decided to open source the code we used to generate these images in an IPython notebook, so now you can make neural network inspired images yourself!

The code is based on Caffe and uses available open source packages, and is designed to have as few dependencies as possible. To get started, you will need the following (full details in the notebook):

  • NumPy, SciPy, PIL, IPython, or a scientific python distribution such as Anaconda or Canopy.
  • Caffe deep learning framework (Installation instructions)

Once you’re set up, you can supply an image and choose which layers in the network to enhance, how many iterations to apply and how far to zoom in. Alternatively, different pre-trained networks can be plugged in.

Itll be interesting to see what imagery people are able to generate. If you post images to Google+, Facebook, or Twitter, be sure to tag them with #deepdream so other researchers can check them out too.
Read More..

Basic PLC Ladder Programming Example 11



Basic PLC Ladder Programming Training Example 11: START/STOP MOTOR CONTROL PLC Ladder Program  

 Basic PLC Ladder Programming Training Examples for Beginners. Hi Friends here we are starting a series of Free Training on PLC Ladder Programming. These PLC Ladder Programs are important to get basics of Ladder Programs


PLC Ladder Practice Problem:


Design and connect a ladder logic control for a simple starter system of a 3 phase AC motor. The starter has one start and one stop switch. Both of the switches are momentary contact switch. Start switch is normally open and stop switch is normally close. Output relay, C1, Controls the 3-phase supply to the motor. The motor has a stop and a run indicator lights. 

Direct on Line Motor Start Stop using PLC


EQUIPMENT AND SUPPLIES 

 1.  PLC with Input and Output Modules
4.  3 Phase AC Motor, Momentary contact switches
5.  Electromagnetic contactors or solid state relays
6.  230V, 15A rated wires  

Topics Covered in this example is START/STOP MOTOR DOL CONTROL PLC Program  

Number of PLC Inputs Required 


X1- Start Switch (NO)
X2- Stop Switch (NC)

Number of PLC Outputs Required 

Y0- Motor Relay
Y1- Motor Run Light
Y2- Motor Stop Light

PLC Ladder Programming: 


PLC Ladder Program for DOL Motor Starter


PLC Ladder Programming Description: 


When Start Push button Pressed Motor Relay M1 will on and Latched similarly RUN light will be on. When Stop Button Pressed Latch gets open and Motor Relay gets OFF Hence Motor.

Note: Example is only for training purposes. No Practical implementation is done.


 See More PLC Ladder Programming Examples


PLC Ladder Programming Example 1

PLC Ladder Programming Example 2
PLC Ladder Programming Example 3
PLC Ladder Programming Example 4
PLC Ladder Programming Example 5
PLC Ladder Programming Example 6
PLC Ladder Programming Example 7
PLC Ladder Programming Example 8
PLC Ladder Programming Example 9
PLC Ladder Programming Example 10
PLC Ladder Programming Example 11
PLC Ladder Programming Example 12
PLC Ladder Programming Example 13
PLC Ladder Programming Example 14
PLC Ladder Programming Example 15
 
Read More..