1 Star 0 Fork 0

Alex/ImageReward

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
minkowski0125 提交于 2023-07-11 05:57 . fix typo of ReFL
from setuptools import setup, find_packages
import os
import pkg_resources
from pathlib import Path
long_description = (Path(__file__).parent / "README.md").read_text()
DESCRIPTION = 'ImageReward'
# 配置
setup(
name="image-reward",
py_modules = ["ImageReward"],
version="1.5",
author="Jiazheng Xu, et al.",
author_email="<xjz22@mails.tsinghua.edu.cn>",
url="https://github.com/THUDM/ImageReward",
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(exclude=["tests*"]),
install_requires=[
'timm==0.6.13',
'transformers>=4.27.4',
'fairscale==0.4.13',
'huggingface_hub>=0.13.4',
'diffusers>=0.16.0',
'accelerate>=0.16.0',
'datasets>=2.11.0',
],
dependency_links = [
"clip @ git+https://github.com/openai/CLIP.git",
],
python_requires=">=3.5",
license="Apache 2.0 license"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ihotpot/ImageReward.git
git@gitee.com:ihotpot/ImageReward.git
ihotpot
ImageReward
ImageReward
main

搜索帮助