Closed bjoernpl closed 1 year ago
Hi @bjoernpl, really thanks for your contribution.
Here are some other suggestions:
img_path
.Again really appreciate the help.
Update: I have now provided an expert label visualisation script. Hope that would be helpful! thanks!
Thanks for the feedback! I had the experts and the visualisation of their labels working on my machine, might be an error with some path. I'll look into fixing it next week.
Adds a versatile gradio demo in
app.py
that currently supportsvqa
andcaption
tasks as well as running with or without the use of the expert models onPrismer
orPrismerZ
models respectively. Saves the temporary image in thehelpers/images
folder so that the expert label generation scripts work. Run with:Sorry for the messy commit history on this, hope that's no issue. Open for any feedback.