Code Monkey home page Code Monkey logo

graph-based-image-classification's Introduction

A TensorFlow implementation of Graph-based Image Classification

Build Status Code Coverage Requirements Status Code Climate Code Climate Issues

This is a TensorFlow implementation based on my "Graph-based Image Classification" master thesis.

Requirements

Project is tested on Python 2.7, 3.4 and 3.5.

To install the additional required python packages, run:

pip install -r requirements.txt

Miniconda

If you have Miniconda installed, you can simply run

./bin/install.sh <name>

to install all dependencies (including TensorFlow and nauty/pynauty) in a new conda environment with name <name>.

For configuration and usage of the install script, run:

./bin/install.sh --help

To install Miniconda, run

./bin/conda.sh

and add ~/.miniconda/bin to your path.

Running tests

Install the test requirements:

pip install -r requirements_test.txt

Run the test suite:

./bin/test.sh

Package structure

  • bin: Shell scripts to test and install.
  • data: Contains the datasets and helper methods to access and write datasets.
  • grapher: Graph generating algorithms.
  • model: Wrapper for learning CNNs based on a simple JSON network structure file.
  • networks: Contains all network structures that were used for training and evaluation.
  • patchy: PatchySan implementation.
  • segmentation.algorithm: Segmentation algorithms.
  • segmentation: Extracts segment features and spatial neighborhood information based on a given segmentation.

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.