Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update text2image taskflow #3040

Merged
merged 2 commits into from
Aug 15, 2022

Conversation

JunnYu
Copy link
Member

@JunnYu JunnYu commented Aug 15, 2022

PR types

Others

PR changes

APIs

Description

update text2image taskflow

* `num_return_images`:返回图片的数量,默认为4,即4张图片水平拼接形成一张长图。
* `use_faster`:是否使用faster_generation,默认为False,目前支持faster_generation的模型有`["pai-painter-painting-base-zh", "pai-painter-scenery-base-zh", "pai-painter-commercial-base-zh"]`。
* `use_fp16_decoding`:是否使用fp16加速解码过程,默认为False,只有当use_faster为True的时候才有效。
* `num_return_images`:返回图片的数量,默认为8,即8张图片水平拼接形成一张长图。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

像这种是否可以加上更多参数介绍请参考XXX 这样的指向其他API文档的链接呢,不然感觉这些参数的信息丢了

@guoshengCS guoshengCS merged commit bf0d3ab into PaddlePaddle:develop Aug 15, 2022
@JunnYu JunnYu deleted the update_text_to_image_taskflow branch August 15, 2022 13:19
wj-Mcat pushed a commit to wj-Mcat/PaddleNLP that referenced this pull request Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants