-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (32 loc) · 978 Bytes
/
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
import torch
import torchvision
from setuptools import setup, find_packages
torch_ver = [int(x) for x in torch.__version__.split(".")[:2]]
assert torch_ver >= [1, 9], "Requires PyTorch >= 1.9"
torchvision_ver = [int(x) for x in torchvision.__version__.split(".")[:2]]
assert torchvision_ver >= [0, 11], "Requires torchvision >= 0.11"
setup(
name="fba",
version="0.1.0",
packages=find_packages(),
install_requires=[
"numpy",
"cython",
"matplotlib",
"tqdm",
"tflib",
"autopep8",
"tensorboard",
"opencv-python",
"requests",
"pyyaml",
"addict",
"scikit-image",
#"detectron2 @ git+https://github.com/facebookresearch/detectron2@main#egg=detectron2",
"detectron2-densepose @ git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose",
"kornia",
"torch_fidelity",
"ninja",
"moviepy"
],
)