2020-10-04 12:34:44 -07:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
2024-04-17 20:51:30 +05:30
|
|
|
with open('README.md') as f:
|
|
|
|
|
long_description = f.read()
|
|
|
|
|
|
2020-10-04 12:34:44 -07:00
|
|
|
setup(
|
|
|
|
|
name = 'vit-pytorch',
|
2020-10-11 00:06:26 -07:00
|
|
|
packages = find_packages(exclude=['examples']),
|
2024-08-21 19:24:13 -07:00
|
|
|
version = '1.7.11',
|
2020-10-04 12:34:44 -07:00
|
|
|
license='MIT',
|
|
|
|
|
description = 'Vision Transformer (ViT) - Pytorch',
|
2024-04-17 20:51:30 +05:30
|
|
|
long_description=long_description,
|
2022-06-19 08:11:41 -07:00
|
|
|
long_description_content_type = 'text/markdown',
|
2020-10-04 12:34:44 -07:00
|
|
|
author = 'Phil Wang',
|
|
|
|
|
author_email = 'lucidrains@gmail.com',
|
|
|
|
|
url = 'https://github.com/lucidrains/vit-pytorch',
|
|
|
|
|
keywords = [
|
|
|
|
|
'artificial intelligence',
|
|
|
|
|
'attention mechanism',
|
|
|
|
|
'image recognition'
|
|
|
|
|
],
|
|
|
|
|
install_requires=[
|
2023-10-06 10:27:36 -07:00
|
|
|
'einops>=0.7.0',
|
2022-04-06 16:12:17 -07:00
|
|
|
'torch>=1.10',
|
2021-05-02 14:00:36 -07:00
|
|
|
'torchvision'
|
2020-10-04 12:34:44 -07:00
|
|
|
],
|
2021-12-22 09:13:31 -08:00
|
|
|
setup_requires=[
|
|
|
|
|
'pytest-runner',
|
|
|
|
|
],
|
|
|
|
|
tests_require=[
|
2022-10-29 11:44:17 -07:00
|
|
|
'pytest',
|
2024-08-20 15:35:04 -07:00
|
|
|
'torch==2.4.0',
|
|
|
|
|
'torchvision==0.19.0'
|
2021-12-22 09:13:31 -08:00
|
|
|
],
|
2020-10-04 12:34:44 -07:00
|
|
|
classifiers=[
|
|
|
|
|
'Development Status :: 4 - Beta',
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
|
],
|
2020-10-11 00:06:26 -07:00
|
|
|
)
|