Spaces:
No application file
No application file
Download src/MedSAM/setup.py from YPan0/MMedAgent_demo: direct link, hf CLI and curl.
- Browser
- Download file 777 Bytes
-
https://huggingface.co/spaces/YPan0/MMedAgent_demo/resolve/main/src/MedSAM/setup.py
- Command line
-
hf download hf://spaces/YPan0/MMedAgent_demo/src/MedSAM/setup.py
-
curl -L -o setup.py https://huggingface.co/spaces/YPan0/MMedAgent_demo/resolve/main/src/MedSAM/setup.py
777 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # This source code is licensed under the license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| # Adapted from https://github.com/facebookresearch/segment-anything | |
| from setuptools import find_packages, setup | |
| setup( | |
| name="medsam", | |
| version="0.0.1", | |
| author="Jun Ma", | |
| python_requires=">=3.9", | |
| install_requires=["monai", "matplotlib", "scikit-image", "SimpleITK>=2.2.1", "nibabel", "tqdm", "scipy", "ipympl", "opencv-python", "jupyterlab", "ipywidgets"], | |
| packages=find_packages(exclude="notebooks"), | |
| extras_require={ | |
| "all": ["pycocotools", "opencv-python", "onnx", "onnxruntime"], | |
| "dev": ["flake8", "isort", "black", "mypy"], | |
| }, | |
| ) | |