GithubHelp home page GithubHelp logo

dogs-cats's Introduction

Dogs-Cats

猫狗二分类图片识别

模型结构

两个卷积层 + 两个FC层

def __init_network(self):
	nw = network.Network(self.input)

	nw.conv2d(filter_shape=[3, 3, 3, 16], strides=[1, 1, 1, 1], name="Conv1")
	nw.max_pool(ksize=[1, 2, 2, 1], strides=[1, 2, 2, 1], name="Pool1")

	nw.conv2d(filter_shape=[3, 3, 16, 16], strides=[1, 1, 1, 1], name="Conv2")
	nw.max_pool(ksize=[1, 2, 2, 1], strides=[1, 2, 2, 1], name="Pool2")

	nw.fc(50 * 50 * 16, 256, name="Fc1")
	nw.dropout(self.keep_prob, name="Drop1")

	nw.fc(256, 2, activation=tf.nn.softmax, name="Fc3")
	return nw.output()

dogs-cats's People

Contributors

puke3615 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.