Giter Club home page Giter Club logo

count-ception_mbm's Introduction

count-ception_mbm

Pytorch implementation of count-ception on the MBM dataset. Please refer to the [original repository] (https://github.com/ieee8023/countception) (with Theano and Lasagna deep learning frameworks) for more details on other datasets.

Requirements

  • Pytorch
  • Scikit-Image

Preparing dataset

I included a Pickle file of the dataset similar to how it was prepared in the original repository's MBM code. To re-generate the pickle file, you would need to run 'create_datafiles.py' making sure to specify the dataset directory.

Training

To train a model, run the following command:

python train.py --pkl-file 'utils/MBM-dataset.pkl' --batch-size 2 --epochs 1000 --lr 0.001

To test the model, run the following command:

python test.py --pkl-file 'utils/MBM-dataset.pkl' --batch-size 1 --ckpt 'checkpoints/after_950_epochs.model'

Citation:

Count-ception: Counting by Fully Convolutional Redundant Counting
JP Cohen, G Boucher, CA Glastonbury, HZ Lo, Y Bengio
International Conference on Computer Vision (ICCV) Workshop on Bioimage Computing

@inproceedings{Cohen2017,
title = {Count-ception: Counting by Fully Convolutional Redundant Counting},
author = {Cohen, Joseph Paul and Boucher, Genevieve and Glastonbury, Craig A. and Lo, Henry Z. and Bengio, Yoshua},
booktitle = {International Conference on Computer Vision Workshop on BioImage Computing},
url = {http://arxiv.org/abs/1703.08710},
year = {2017}
}

count-ception_mbm's People

Contributors

roggirg avatar gatordevin avatar

Stargazers

BTZ-176 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.