{ "info": { "author": "AICS", "author_email": "jianxuc@alleninstitute.org", "bugtrack_url": null, "classifiers": [], "description": "## Overview\n\nThe Allen Cell Structure Segmenter is a Python-based open source toolkit developed for 3D segmentation of intracellular structures in fluorescence microscope images, developed at the Allen Institute for Cell Science. This toolkit consists of two complementary elements, a classic image segmentation workflow with a restricted set of algorithms and parameters and an iterative deep learning segmentation workflow. We created a collection of 20 classic image segmentation workflows based on 20 distinct and representative intracellular structure localization patterns as a lookup table reference and starting point for users. The iterative deep learning workflow can take over when the classic segmentation workflow is insufficient. Two straightforward human-in-the-loop curation strategies convert a set of classic image segmentation workflow results into a set of 3D ground truth images for iterative model training without the need for manual painting in 3D. The Allen Cell Structure Segmenter thus leverages state of the art computer vision algorithms in an accessible way to facilitate their application by the experimental biology researcher. More details including algorithms, validations, and examples can be found in our [bioRxiv paper](https://www.biorxiv.org/content/10.1101/491035v1) or [allencell.org/segmenter](allencell.org/segmenter).\n\n**Note: This repository is only for the \"Iterative Deep Learning Workflow\". The classic part can be found at [https://github.com/AllenInstitute/aics-segmentation](https://github.com/AllenInstitute/aics-segmentation)**\n\n## Installation:\n\n0. prerequisite:\n\nTo use the deep learning part of this package on a local machine, we assume an [NVIDIA GPU](https://www.nvidia.com/en-us/deep-learning-ai/developer/) has been set up properly on a Linux operating system (we recommend Ubuntu). Make sure to check if your GPU supports at least CUDA 8.0 (CUDA 9.0 and up is preferred): [NVIDIA Driver check](https://www.nvidia.com/Download/index.aspx?lang=en-us).\n\nThe GPUs we used to develop and test our package are two types: (1) GeForce GTX 1080 Ti GPU (about 11GB GPU memory), (2) Tesla V100 for PCIe (with about 33GB memory), two common chips for personal workstation and data center, respectively.\n\n**Note 1:** There are other scenarios where GPUs are set up on a remote cluster. In such cases, theoretically everything except the model training/testing could be performed on a local machine with any Liunx/MacOS/Windows operating system, while runing the model training/testing on the GPU cluster. Such GPU cluster could be set up differently from institute to institute, we will assume a local machine use case through out the installation and demos.\n\n**Note 2:** We are investigating alternative cloud computing service to deploy our package and will have updates in the next few months. Stay tuned :) \n\n\n1. create a conda environment: \n\n```bash\nconda create --name mlsegmenter python=3.6\n```\n\n2. activate your environment and do the installation within the environment:\n\n```bash \nconda activate mlsegmenter \n```\n\n(Note: always check out [conda documentation](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#activating-an-environment) for updates. If you are using an older version of conda, you may need to activate the environment by `source activate mlsegmenter`.)\n\n3. Install Pytorch\n\nGo to [PyTorch website](https://pytorch.org/get-started/locally/), and find the right installation command for you. \n\n* we use version 1.0 (which is the stable version at the time of our development)\n* we use Linux (OS), Conda (package), python 3.6 (Language), CUDA=9.0 (Question about CUDA? see [setup CUDA](./docs/check_cuda.md)). So, the installation command for us is\n\n```bash\nconda install pytorch torchvision -c pytorch\n```\n\n4. Install Allen Cell Segmenter (deep learning part)\n\n```bash\ngit clone https://github.com/AllenInstitute/aics-ml-segmentation.git\ncd ./aics-ml-segmentation\npip install -e .\n```\n\n## Level of Support\nWe are offering it to the community AS IS; we have used the toolkit within our organization. We are not able to provide guarantees of support. However, we welcome feedback and submission of issues. Users are encouraged to sign up on our [Allen Cell Discussion Forum](https://forum.allencell.org/) for community quesitons and comments.\n\n\n# Link to [Documentations and Tutorials](./docs/overview.md)\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "Allen Institute Software License", "maintainer": "", "maintainer_email": "", "name": "aicsmlsegment", "package_url": "https://pypi.org/project/aicsmlsegment/", "platform": "", "project_url": "https://pypi.org/project/aicsmlsegment/", "project_urls": null, "release_url": "https://pypi.org/project/aicsmlsegment/0.0.3/", "requires_dist": [ "numpy (>=1.15.1)", "scipy (>=1.1.0)", "scikit-image (>=0.14.0)", "pandas (>=0.23.4)", "aicsimageio (>=0.4.3)", "aicsimageprocessing", "tqdm", "pyyaml", "pytest ; extra == 'all'", "pytest-cov ; extra == 'all'", "flake8 ; extra == 'all'", "flake8 ; extra == 'lint_group'", "pytest ; extra == 'test_group'", "pytest-cov ; extra == 'test_group'" ], "requires_python": "", "summary": "Scripts for ML structure segmentation.", "version": "0.0.3" }, "last_serial": 5219373, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "17b761ff10c77eef7a4d92c4fc346b55", "sha256": "74a3582e9602d2dd61299cf0f32d5981ec9f32b19c433c74ca85e3112a735039" }, "downloads": -1, "filename": "aicsmlsegment-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "17b761ff10c77eef7a4d92c4fc346b55", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12003, "upload_time": "2019-02-15T05:40:38", "url": "https://files.pythonhosted.org/packages/8b/73/73034ce18b07a9f2c1a460468de7f3b30a58ae395ecbbc5a0e94ddca523e/aicsmlsegment-0.0.1-py2.py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "20fcf00b6ba24f328e255895b5bee457", "sha256": "9dec18e60a1dfc12a60f551ee91f029a96d794575a6ad5e93c0492feae62e65b" }, "downloads": -1, "filename": "aicsmlsegment-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "20fcf00b6ba24f328e255895b5bee457", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12004, "upload_time": "2019-02-28T00:57:46", "url": "https://files.pythonhosted.org/packages/8b/c8/f01e2febb4fb3c2a6d2cedec87fc3ea7a73a626dc3510d1ed2f97d70f4fc/aicsmlsegment-0.0.2-py2.py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "047d9372442856a5521e3da60b981cc8", "sha256": "2465f13d1901e08299212570b464d1f3624a521405b032ec0847c8b80490cb78" }, "downloads": -1, "filename": "aicsmlsegment-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "047d9372442856a5521e3da60b981cc8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25668, "upload_time": "2019-05-02T21:11:38", "url": "https://files.pythonhosted.org/packages/16/6d/aec724e73886f2d2ba6c4bb2dc402e576f8f173a3306e39ae0ac297da151/aicsmlsegment-0.0.3-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "047d9372442856a5521e3da60b981cc8", "sha256": "2465f13d1901e08299212570b464d1f3624a521405b032ec0847c8b80490cb78" }, "downloads": -1, "filename": "aicsmlsegment-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "047d9372442856a5521e3da60b981cc8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25668, "upload_time": "2019-05-02T21:11:38", "url": "https://files.pythonhosted.org/packages/16/6d/aec724e73886f2d2ba6c4bb2dc402e576f8f173a3306e39ae0ac297da151/aicsmlsegment-0.0.3-py2.py3-none-any.whl" } ] }