-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
35 lines (32 loc) · 976 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 setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
long_description = "".join(long_description.split("<!--Experiments-->")[::2])
long_description = "".join(long_description.split("![teaser](images/figs/teaser.png)"))
setuptools.setup(
name="dreamsim",
version="0.1.3",
description="DreamSim similarity metric",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ssundaram21/dreamsim",
packages=['dreamsim', 'dreamsim/feature_extraction'],
install_requires=[
"numpy",
"open-clip-torch",
"peft==0.1.0",
"Pillow",
"torch",
"timm",
"scipy",
"torchvision",
"transformers"
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
# "scipy==1.9.2",
# "timm==0.6.12",