cell-transformer

Official implementation of Islam et al. (2023)

https://github.com/stephenbaek/cell-transformer

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Official implementation of Islam et al. (2023)

Basic Info
  • Host: GitHub
  • Owner: stephenbaek
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 825 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

Neuronal Cell Body Segmentation using Swin Transformer

This repository contains the official implementation of Mohammad Shafkat Islam, Pratyush Suryavanshi, Samuel M. Baule, Joseph Glykys, & Stephen Baek. (2023). A Deep Learning Approach for Neuronal Cell Body Segmentation in Neurons Expressing GCaMP Using a Swin Transformer. eNeuro, 10(9):ENEURO.0148-23.2023.

Getting Started

Install Anaconda and create conda environment:

bash conda env create -f swin_gpu_machine.yml conda activate swin mim install mmcv-full==1.5.0 cd ~/swin pip install -v -e .

Running Swin Transformer on Dataset:

  1. Create a new folder inside the ~/swin/data/NEWFOLDER. The naming convention should preferably be in a format similar to the current folders. baseline05082021-014: fluorophoretype_date-xml
  2. Inside the folder create Z-Projection folders. Put all the images from stacks in these Z-Projection folder. The naming convention should be similar to the current format. Stack21to31ZSeries-05082021-014.xml - C=0.tif: StackSTARTSTACKtoENDSTACKZSeries- date-xml.xml - C=0.tif You can remove all other folders from ~/swin/data if you do not need the roi zip for those images.
  3. Enter the following commands on the terminal: bash python aws_cpu_scripts/1_run_python.py 0.05 Change the threshold parameter between [0.01 - 1] to obtain predictions higher then the set threshold
  4. The swin transformer predicted roi zip should be in the ~/swin/predictions folder.

Acknowledgement

This work was funded by NIH/NINDS R01NS115800 and the Iowa Neuroscience Institute. This research was partly supported by the computational resources provided by the University of Iowa, Iowa City, Iowa, and by The University of Iowa Hawkeye Intellectual and Developmental Disabilities Research Center (HAWK-IDDRC) P50 HD103556.

This work is based on Swin Transformer

Contributors

Citation

To cite this work, please use the following information: @article {IslamENEURO.0148-23.2023, author = {Mohammad Shafkat Islam and Pratyush Suryavanshi and Samuel M. Baule and Joseph Glykys and Stephen Baek}, title = {A Deep Learning Approach for Neuronal Cell Body Segmentation in Neurons Expressing {GCaMP} Using a Swin Transformer}, journal = {{eNeuro}}, volume = {10}, number = {9}, year = {2023}, doi = {10.1523/ENEURO.0148-23.2023}, URL = {https://www.eneuro.org/content/10/9/ENEURO.0148-23.2023} }

Owner

  • Name: Stephen Baek
  • Login: stephenbaek
  • Kind: user

Computational Geometry + Machine Learning

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - name: "MMDetection Contributors"
title: "OpenMMLab Detection Toolbox and Benchmark"
date-released: 2018-08-22
url: "https://github.com/open-mmlab/mmdetection"
license: Apache-2.0

GitHub Events

Total
  • Fork event: 1
Last Year
  • Fork event: 1

Dependencies

requirements/build.txt pypi
  • cython *
  • numpy *
requirements/docs.txt pypi
  • docutils ==0.16.0
  • recommonmark *
  • sphinx ==4.0.2
  • sphinx-copybutton *
  • sphinx_markdown_tables *
  • sphinx_rtd_theme ==0.5.2
requirements/mminstall.txt pypi
  • mmcv-full >=1.3.17
requirements/optional.txt pypi
  • cityscapesscripts *
  • imagecorruptions *
  • scipy *
  • sklearn *
requirements/readthedocs.txt pypi
  • mmcv *
  • torch *
  • torchvision *
requirements/runtime.txt pypi
  • matplotlib *
  • numpy *
  • pycocotools *
  • pycocotools-windows *
  • six *
  • terminaltables *
requirements/tests.txt pypi
  • asynctest * test
  • codecov * test
  • flake8 * test
  • interrogate * test
  • isort ==4.3.21 test
  • kwarray * test
  • onnx ==1.7.0 test
  • onnxruntime >=1.8.0 test
  • pytest * test
  • ubelt * test
  • xdoctest >=0.10.0 test
  • yapf * test
requirements.txt pypi
setup.py pypi