Coder Social home page Coder Social logo

dsf-cnn's Introduction

Dense Steerable Filter CNNs for Expoiting Rotational Symmetry in Histology Images

A densely connected rotation-equivariant CNN for histology image analysis.

Link to the pre-print.

NEWS: Our paper has now been published in IEEE Transactions on Medical Imaging. Find the published article here.

Getting Started

Environment instructions:

conda create --name dsf-cnn python=3.6
conda activate dsf-cnn
pip install -r requirements.txt

Repository Structure

  • src/ contains executable files used to run the model. Further information on running the code can be found in the corresponding directory.
  • loader/contains scripts for data loading and self implemented augmentation functions.
  • misc/contains util scripts.
  • model/class_pcam/ model architecture for dsf-cnn on PCam dataset
  • model/seg_nuc/ model architecture for dsf-cnn on Kumar dataset
  • model/seg_gland/ model architecture for dsf-cnn on CRAG dataset
  • model/utils/ contains util scripts for the models.
  • opt/ contains scripts that define the model hyperparameters and augmentation pipeline.
  • config.py is the configuration file. Paths need to be changed accordingly.
  • train.py and infer.py are the training and inference scripts respectively.
  • process.py is the post processing script for obtaining the final instances for segmentation.

Segmentation

Citation

If any part of this code is used, please give appropriate citation to our paper.

@article{graham2020dense,
  title={Dense Steerable Filter CNNs for Exploiting Rotational Symmetry in Histology Images},
  author={Graham, Simon and Epstein, David and Rajpoot, Nasir},
  journal={arXiv preprint arXiv:2004.03037},
  year={2020}
}

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

dsf-cnn's People

Contributors

maneeshmohan1 avatar simongraham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dsf-cnn's Issues

Is this a bug?

Hello,
In the utils/rotation_utils.py line 236 and 237, the for loops are using the same ranges, is this right?

Best.

Data

where do i get the dataset you have mentioned

AssertionError

Dear Simon ,
I recently rectified the previous issues thanks for your feedback.
After solving the environment and hardware issues get this error. i will be glad to get your advice.
image

patch_extractor.py

Patch_extractor.py is a core code for extracting patches?The specific data set extraction patch should be implemented through the code written by oneself.

Typeerror

Hello Simon,
I get this error when i make changes you made.
image

Training problem

Hello sir,
I am trying to run your code in the training part but I have raised a confusing situation. It runs smoothly until it wants to start the training. When it want to start training epoch 1, the program just jump out but it didn't raise any error. Could you give me some inside thought about what happened here? I really appreciate it. Thank you.

Also, I have a question about the training data. When I download the MonuSeg dataset. It provides me .XML annotations and TIFF image. In you extract patches, you use PNG image and .NPY label. May you help me with how to convert the XML into the npy
1646664930939
?

Error

i get the following error, may i know how to fix it?
error

TypeError

Can anyone help with this error..?
Screenshot from 2023-03-14 09-56-05

tensorflow version Compatibility

I am using colab for experimentation. Here i cannot install tensorflow-gpu==1.12.0. Is there any way to the script with a newer version of TensorFlow? or Can you suggest me something regarding this issue?

PyTorch Version

Hey, very great work. But do you plan to release a PyTorch Version?

Best.

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.