File size: 860 Bytes
b88c922
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import setuptools

setuptools.setup(
    name="unilm",        # your choice, but usually same as the package 
    version="0.1.0",          # obligatory
    packages=["dit"],  # name of the folder relative to this file where the source code lives
    install_requires=[
        "setuptools==58.2.0",
        "timm==0.5.4",
        "Pillow",
        "blobfile",
        "mypy",
        "numpy",
        "pytest",
        "requests",
        "einops",
        "tensorboardX",
        "deepspeed==0.4.0",
        "scipy",
        "opencv-python",
        "datasets",
        "huggingface_hub",
        "ipywidgets",
        "shapely==1.8",
    ],      # your dependencies, if you have any
    entry_points = {          # this here is the magic that binds your function into a callable script
        "console_scripts": ["train=dit.train_net:entry_point"],
    }
)