-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (43 loc) · 1.08 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import sys
from setuptools import setup, find_packages
EXTRA_REQUIREMENTS = {
"graphs": ["networkx", "dgl", "histocartography"],
}
setup(
name="pytorch_models",
version="0.1.0",
packages=find_packages(),
url="https://github.com/tsikup/pytorch_models",
license="MIT",
author="Nikos Tsiknakis",
author_email="[email protected]",
description=" A collection of pytorch models and utility methods that I use for any deep-learning project. ",
extras_require=EXTRA_REQUIREMENTS,
install_requires=[
"dotmap",
"natsort",
"numpy",
"pandas",
"torch",
"tqdm",
"opencv-python",
"scikit-image",
"Pillow",
"shapely",
"torch",
"torchvision",
"lightning",
"torchmetrics",
"pydensecrf",
"scipy",
"Ranger21",
"timm",
"pytorch-lightning-bolts",
"topk",
"albumentations",
"stainlib",
"wholeslidedata",
"shapely",
]
+ (["spams"] if sys.platform == "darwin" else ["spams-bin"]),
)