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

Stargazers

Santiago Garcia Rios avatar luzhenyu avatar  avatar  avatar  avatar  avatar haojielv avatar  avatar Michael Ginsberg avatar Usama Altaf Zahid avatar  avatar  avatar Louis Lac avatar Tyler Spears avatar  avatar Balasubramanian S avatar Pavel T  avatar  avatar Sebastian Otálora avatar  avatar Joseph Paul Cohen avatar

Watchers

Joseph Paul Cohen avatar paper2code - bot avatar

count-ception_mbm's Issues

number of cells?

i just cant understand last part of the code, how can i pull predictions and number of cells, and how can i test for another image after getting weights?
thx

Training Speed

I am also curios about the estimated time to train the model with the default pickle file. I have a GTX 1080 and every Epoch is taking about 10 seconds. A print statement I added shows that the gpu is available and that it is using cuda but 10 seconds just seems slow considering there are 1000 epochs.

Using as Tensorflow Model

I am new to deep learning and Pytorch would it be possible to use the trained model and the weights in a tensorflow model.

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.