Giter Site home page Giter Site logo

cnn-for-cifar10's Introduction

This is a framework for cnn training and eval. The directories contain:

to run the model, use script in ./scripts directory -- ./scripts: train.sh script to train the model eval.sh script to eval the model demo.sh script to run the demo

-- ./network:
	ops.py	  	capsulate the common ops used in cnn, include conv, pooling, fc etc. It's very useful for construct deep networks
	net.py    	define base class Net for cnn networks class, define the interface to Solver class 
	resnet.py  	resnet network class, derive from Net class
	inception.py  	inception network class
	vgg.py		vgg network class 
	
-- ./train
	solver.py  	define a Solver class to config training and eval  
	run.py
		main function to run training or eval
		args define:
		--mode	   			train or test
		--dataset  			dataset name, like cifar10 
		--train_data_path		training data file path
		--eval_data_path		evaluate data file path
		--evaluate_once			whether or not evaluate only once
		--eval_batch_count		in every loop, how many batch count to be evaluate
		--num_gpus			the number of GPU	

	demo.py    restore the saved model and show demo

-- ./data:
	cifar_input.py		code to read binary format data and preprocess data, transfer data to tf queue style
	./cifar10
	./Imagenet
	...

-- ./config
	hyperparameters in dict format in python file, like resnet_config.py
	include the config file

-- ./cc
	c++ code
	setup.py use cython to setup the c++ code

cnn-for-cifar10's People

Watchers

 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.