Download testbed/huggingface__pytorch-image-models/setup.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/huggingface__pytorch-image-models/setup.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/huggingface__pytorch-image-models/setup.py
-
curl -L -o setup.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/huggingface__pytorch-image-models/setup.py
1.77 kB
| """ Setup | |
| """ | |
| from setuptools import setup, find_packages | |
| from codecs import open | |
| from os import path | |
| here = path.abspath(path.dirname(__file__)) | |
| # Get the long description from the README file | |
| with open(path.join(here, 'README.md'), encoding='utf-8') as f: | |
| long_description = f.read() | |
| exec(open('timm/version.py').read()) | |
| setup( | |
| name='timm', | |
| version=__version__, | |
| description='(Unofficial) PyTorch Image Models', | |
| long_description=long_description, | |
| long_description_content_type='text/markdown', | |
| url='https://github.com/rwightman/pytorch-image-models', | |
| author='Ross Wightman', | |
| author_email='hello@rwightman.com', | |
| classifiers=[ | |
| # How mature is this project? Common values are | |
| # 3 - Alpha | |
| # 4 - Beta | |
| # 5 - Production/Stable | |
| 'Development Status :: 3 - Alpha', | |
| 'Intended Audience :: Education', | |
| 'Intended Audience :: Science/Research', | |
| 'License :: OSI Approved :: Apache Software License', | |
| 'Programming Language :: Python :: 3.6', | |
| 'Programming Language :: Python :: 3.7', | |
| 'Programming Language :: Python :: 3.8', | |
| 'Topic :: Scientific/Engineering', | |
| 'Topic :: Scientific/Engineering :: Artificial Intelligence', | |
| 'Topic :: Software Development', | |
| 'Topic :: Software Development :: Libraries', | |
| 'Topic :: Software Development :: Libraries :: Python Modules', | |
| ], | |
| # Note that this is a string of words separated by whitespace, not a list. | |
| keywords='pytorch pretrained models efficientnet mobilenetv3 mnasnet', | |
| packages=find_packages(exclude=['convert', 'tests', 'results']), | |
| include_package_data=True, | |
| install_requires=['torch >= 1.4', 'torchvision'], | |
| python_requires='>=3.6', | |
| ) | |