-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
50 lines (46 loc) · 1.41 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
46
47
48
49
50
from setuptools import setup, find_packages
import os
def read_long_description():
root = os.path.abspath(os.path.dirname(__file__))
path = os.path.join(root, "README.md")
with open(path, "r", encoding="utf-8") as f:
text = f.read()
return text
setup(
name = 'relic-pytorch',
packages = find_packages(exclude=['notebooks']),
version = '0.4.1',
license='MIT',
description = 'Simple self-supervised contrastive based on based on the ReLIC method',
author = 'Filip Basara',
author_email = 'basarafilip@gmail.com',
url = 'https://github.com/filipbasara0/relic',
long_description=read_long_description(),
long_description_content_type = 'text/markdown',
keywords = [
'machine learning',
'pytorch',
'self-supervised learning',
'representation learning',
'contrastive learning'
],
install_requires=[
'torch>=2.1',
'torchvision>=0.16',
'datasets>=2.15',
'tqdm>=4.66',
'torchinfo>=1.8.0',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.10',
],
entry_points={
"console_scripts": [
"relic_train = run_training:main"
],
},
)