File size: 816 Bytes
6200ad9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import os
from setuptools import setup
import torch

torch_ver = [int(x) for x in torch.__version__.split(".")[:2]]
assert torch_ver >= [1, 8], "Requires PyTorch >= 1.8"

setup(
    name="geo-aware",
    author="Junyi Zhang",
    description="Telling Left from Right: Identifying Geometry-Aware Semantic Correspondence",
    python_requires=">=3.8",
    py_modules=[],
    install_requires=[
        "loguru>=0.5.3",
        "faiss-cpu==1.7.1",
        "matplotlib>=3.4.2",
        "tqdm>=4.61.2",
        "numpy==1.23.5",
        "pillow==9.5.0",
        "ipykernel==6.29.5",
        "gdown>=4.6.0",
        "wandb>=0.16.0",
        f"mask2former @ file://localhost/{os.getcwd()}/third_party/Mask2Former/",
        f"odise @ file://localhost/{os.getcwd()}/third_party/ODISE/"
    ],
    include_package_data=True,
)