1 Star 1 Fork 1

zhulei632/torchkeras

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
算法美食屋 提交于 2023-06-01 10:28 . update 3.8.7
# -*- coding:utf-8 -*-
import re
from pathlib import Path
from setuptools import find_packages, setup, find_namespace_packages
# Settings
FILE = Path(__file__).resolve()
PARENT = FILE.parent # root directory
README = (PARENT / "README_en.md").read_text(encoding="utf-8")
def get_version():
file = PARENT/'torchkeras/__init__.py'
return re.search(r'__version__="(.*)"', file.read_text(encoding="utf-8"),re.M)[1]
setup(
name="torchkeras",
version=get_version(),
author="PythonAiRoad, Laugh",
author_email="[email protected]",
description="pytorch❤️keras",
long_description=README,
install_requires=[
'accelerate',
'tqdm',
#'torch',
#'torchmetrics',
#'plotly',
#'wandb'
],
long_description_content_type="text/markdown",
url="https://github.com/lyhue1991/torchkeras",
packages=find_namespace_packages(exclude=['torchkeras.assets','data']),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
keywords="machine-learning, deep-learning, ML, DL, pytorch, torch, keras",
python_requires='>=3.5'
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhulei632/torchkeras.git
[email protected]:zhulei632/torchkeras.git
zhulei632
torchkeras
torchkeras
master

搜索帮助