加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 2.18 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from setuptools import setup
from os import path
UTILS_CV = "utils_cv" # Utility folder name
README = path.join(UTILS_CV, "README.md")
exec(open(path.join(UTILS_CV, "__init__.py")).read())
with open(README, encoding="utf-8") as f:
long_description = f.read()
setup(
name="utils_cv",
version=__version__,
description="Computer Vision Utilities",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/ComputerVision",
project_urls={
"Bug Tracker": "https://github.com/microsoft/ComputerVision/issues",
"Source Code": "https://github.com/microsoft/ComputerVision",
"Documentation": "https://github.com/microsoft/ComputerVision",
},
author="CVDev Team at Microsoft",
classifiers=[
"Development Status :: 2-Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
],
include_package_data=True,
# Make utils_cv pip-installable without environment.yml.
# * But keep environment.yml unchanged util final decision to
# incorporate utils_cv into environment.yml.
# * Make sure to sync with environment.yml if any dependencies or
# versions changed.
install_requires=[
"azureml-sdk[notebooks,contrib]>=1.0.30", # requires ipykernel, papermill, jupyter-core, jupyter-client
"bqplot",
"fastai==1.0.48", # requires pytorch, torchvision, nvidia-ml-py3
"scikit-learn>=0.19.1",
],
keywords=", ".join(
[
"computer vision",
"deep learning",
"convolutional neural network",
"image classification",
"image similarity",
"data science",
"artificial intelligence",
"machine learning",
"gpu",
]
),
packages=[UTILS_CV],
python_requires=">=3.6",
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化