-
Notifications
You must be signed in to change notification settings - Fork 165
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
【PaddlePaddle Hackathon 5th】No.81 Add Text2Image & Autolabel Gradio #189
Conversation
applications/gradio_autolable.py
Outdated
al_text_out = gr.Text(label = "标注信息") | ||
al_button = gr.Button() | ||
al_button.click(fn=al_fun, inputs = [al_image_in, al_text_in], outputs = [al_image_out, al_text_out]) | ||
with gr.Tab("批量标注"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个做成输入是文件目录,然后对目录下的图片进行
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
更新了~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
待测试后合入
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
当前autolabel问题:
1.生成的结果提供json文件下载,批量的提供压缩包形式;
2.文件目录输入生存结果为空
applications/gradio_text2image.py
Outdated
tge_text_neg_in = gr.Text(label = "Negative Prompt") | ||
tge_button = gr.Button() | ||
tge_button.click(fn=tge_fun, inputs = [tge_image_in, tge_text_pos_in, tge_text_neg_in], outputs = [tge_image_out]) | ||
with gr.Tab("文本图像双引导图像生成"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因版本升级,这个功能先下掉
【PaddlePaddle Hackathon 5th】No.81 Add Text2Image & Autolabel Gradio
PaddlePaddle/Paddle#57262